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

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

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!