Question: B) (10 pts) Write a C++ program that uses a for loop for Programming Exercise 5.53 on p. 203 (count the number of vowels and

B) (10 pts) Write a C++ program that uses a for loop for Programming Exercise 5.53 on p. 203 (count the number of vowels and consonants in a string). Turn in a printout of the program and a printout of the results. Run the program for the example string in the text and for your full name. *5.53 (Count vowels and consonants) Assume letters A, E, I, O, and U as the vowels. Write a program that prompts the user to enter a string and displays the number of vowels and consonants in the string. Enter a string: Programming is fun Enter The number of vowels is 5 The number of consonants is 11
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
