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

Exercise 5
Conditionals 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 (a,A,e,E,i,l,o,O,u 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, then the output would be: a is a vowel
If the user entered I, then the output would be: I is a vowel
If the user entered then the output would be:
 Exercise 5 Conditionals Exercise 5 Problem You will ask the user

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!