Question: Q5) Write a program that ask the user to enter an alphabet and if the alphabet is vowel, then it prints it is a vowel.

 Q5) Write a program that ask the user to enter an

Q5) Write a program that ask the user to enter an alphabet and if the alphabet is vowel, then it prints "it is a vowel". If it is a consonant, then it prints it is a consonant using switch case. Example: If the user enter a vowel 'a', then print "it is a vowel". If the user enter a consonant 'e', then print "it is a consonant

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!