Question: Input a char c . Keep repeating the input in a loop as long as c is not equal to # . Display the count

Input a char c. Keep repeating the input in a loop as long as c is not equal to #. Display the count of the number of times user entered vowels, consonant, and digits when the loop ends.
Sample input / output:
Enter a sequence of characters ending with #: University of Sharjah 2024?#
The number of vowels is 7
The number of consnant is 12
The number of digts is 4
.. Program finished with exit code 0
Press ENTER to exit console.
 Input a char c. Keep repeating the input in a loop

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!