Question: 6. (Data processing) a. Write a C++ program that stops reading a line of text when a period is entered and displays the sentence with
6. (Data processing) a. Write a C++ program that stops reading a line of text when a period is entered and displays the sentence with correct spacing and capitalization. For this program, correct spacing means only one space between words, and all letters should be lowercase, except the first letter. For example, if the user enters the text i am going to GO TO THe movies., the displayed sentence should be I am going to go to the movies. b. Determine what characters, if any, aren't displayed correctly by the program you created for Exercise 6a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
