Question: ( 2 points ) Write a program that a ) asks users to enter any string, b ) counts vowels and consonants, and c )
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 times, and consonants appear times.
For brevity, assume that users will enter only alphabetical letters.
However, they can possibly enter an empty space.
Hint: vowels include ; the rest of the alphabets are consonants
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
