Question: Java Write a program that prompts the user to enter a letter and check whether the letter is a vowel or consonant. For a nonletter
Write a program that prompts the user to enter a letter and check whether the letter is a vowel or consonant. For a nonletter input, display invalid input. Sample Run 1 Enter a letter: B Bis a consonant Sample Run 2 Enter a letter grade: a a is a vowel Sample Run 3 Enter a letter grade: # # is an invalid input Class Name: Exercise04_13 Write a program that prompts the user to enter a letter and check whether the letter is a vowel or consonant. For a nonletter input, display invalid input. Sample Run 1 Enter a letter: B B is a consonant Sample Run 2 Enter a letter grade: a a is a vowel Sample Run 3 Enter a letter grade: # # is an invalid input Class Name: Exercise04_13
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
