Question: Write a program that prompts the user to input a letter. If the letter is a lowercase vowel letter, the program converts that letter to
Write a program that prompts the user to input a letter. If the letter is a lowercase vowel letter, the program converts that letter to uppercase. If the letter is an uppercase vowel letter, the program prints the letter as it is. If the letter is consonant, it generates a message "The letter is a consonant". You must use switch case control structure in this program. Sample input: a U C Sample output: A U The letter is a consonant
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
