Question: C++ Write a program that reads in a line of text and counts the number of characters in the line. Once it does that determine

C++

Write a program that reads in a line of text and counts the number of characters in the line. Once it does that determine the number of vowels in the string and then determines the percentage of vowels in the overall line. You should have at least 5 lines of input. Output should be the following: a. Original line b. Number of vowels in the line c. Percentage of vowels in the line d. Overall average of vowels in the 5 lines.

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!