Question: Q2: Problem Description: Write a program that prompts the user to enter a letter and check whether the letter is a vowel or consonant. For
Q2: Problem Description: Write a program that prompts the user to enter a letter and check whether the letter is a vowel or consonant. For nonletter input, display invalid input. Here is a sample run: Enter a letter: B B is a consonant. Here is another sample run: Enter a letter: a a is a vowel. Here is another sample run: Enter a letter: # # is an invalid input. Part 1: Requirements Specification The program must satisfy the following requirements: It must ask the user to input a letter. It must print vowel, consonant, or invalid input. **Complete part 2. Note: You are not required to complete the Analysis and Design sections. Part 2: Coding Copy and Paste Source Code here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
