Question: Exercise #3: Strings, operations Write a C++program that prompts the user to enter a sentence, the program then does the following: 1. Prints the total

 Exercise #3: Strings, operations Write a C++program that prompts the user

Exercise #3: Strings, operations Write a C++program that prompts the user to enter a sentence, the program then does the following: 1. Prints the total characters in the sentence 2. Prints the word count of the sentence, assuming only one space between each tow words 3. Prints total vowel (a, e, i, o, u in the sentence Prints the vowel frequency as shown in the sample below 5. Prints the sentence in reverse 6. Prints the total number of characters other than the alphabets (Note: space is a character) 7. Prints the sentence in a way so that the case of each character is changed, .e. from lower to upper and vice versa Sample input/output s to play foot tennis, and golf. nter a string haracter Count 49 rd Count :9 owe1 Count :13 oue1 Frequency verse .flog dna .sinnet 1labtoof yalp ot sekil ilA rD n-aphabet Count 12 nge Case dR. aLI LIKES TO PLAY FOOTBALLTENNIS. AND GOLF

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!