Write a program that reads in characters from the user. Assume they will give you correct input, which corresponds to capital letters (A-Z) and lower-case letters (a-z). Count up the number of vowels entered versus consonants. The program will terminate when the user gives, as input, an exclamation point (!). Use a switch statement where possible.
Comments
Leave a comment