Insert character elements into an array and display vowels which are stored in the array.
Answers
Answered by
0
Answer:
Input the string from the user. Assign the input character array to the pointer. Scan all the input characters. If it is a vowel, increment the cntV variable and if it is a consonant, increment the cntC variable. After all the characters are scanned, display the total number of vowels and consonants
Similar questions