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 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
Get step-by-step solutions from verified subject matter experts
