Question: Prepare a program to key in a string of five characters from the keyboard and calculate the number of consonants. Examples of result are as

Prepare a program to key in a string of five characters from the keyboard and calculate the number of consonants. Examples of result are as following Enter a string of 5 characters: comun Number of consonants: 3 Enter a string of 5 characters: aarie Number of consonants: 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
