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.

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!