Question: Objective: Learn how to -- use the switch statement Problem: Write a C++ program that uses a switch statement to determine whether or not a

Objective: Learn how to -- use the switch statement Problem: Write a C++ program that uses a switch statement to determine whether or not a given input capital letter is a vowel (A, E, I, O or U). You do not have to use a loop in this program. Sample Test Cases: Enter a letter: A A is a vowel Enter a letter: E E is a vowel Enter a letter: I I is a vowel Enter a letter: 0 O is a vowel Enter a letter: U U is a vowel Enter a letter: T T is not a vowel
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
