How would you write a program that counts the number of vowels in a string?
The program is supposed to do the following: in the given string, consisting if uppercase and lowercase Latin letters, it:
Vowels are letters "A", "E", "I", "O", "U" and the rest are consonants.
Count all vowels in the string.
Delete/replace all the vowels,
Replaces all uppercase consonants with corresponding lowercase ones.
Comments
Leave a comment