Question: ( 2 points ) Write a program that a ) asks users to enter any string, b ) counts vowels and consonants, and c )

(2 points) Write a program that a) asks users to enter any string,
b) counts vowels and consonants, and c) displays the outcome as an example below.
For example, if 'Apple Banana' was entered, the result should be like this:
In the entered string, vowels appear 5 times, and consonants appear 6 times.
For brevity, assume that users will enter only alphabetical letters.
However, they can possibly enter an empty space.
Hint: vowels include a,e,i,o,u; the rest of the alphabets are consonants
 (2 points) Write a program that a) asks users to enter

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!