Question: Exercise 5 Problem You will ask the user for a letter of the alphabet. The prompt portion for your input statement should be exactly the

Exercise 5
Problem
You will ask the user for a letter of the alphabet. The prompt portion for your input statement should be exactly the following:
"Enter a letter: "
with the colon and one space at the end before the closing quote.
Write a program that determines if the letter the user entered is a vowel and U. If yes, print _ is a vowel, where the blank is the letter the user entered. If no, print __ is not a vowel, where the blank is the entered letter.
Expected Output
If the usere entered a , then the output would be: vowel
If the user entered I, then the output would be: I is a vowel
If the user entered z, then the output would be: z is not a vowel
 Exercise 5 Problem You will ask the user for a letter

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!