Write a C++ program that takes in text from the user and prints the total Number of spaces used in the text.
Kindly, use #include<iostream> and #include<conio.h> only.
while loop is more preferable than for or do-while.
MUHAMMAD AHMAD_1 0 Newbie Poster
Reverend Jim 4,968 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.