Question: Create a package named alphabet and create a program that prints the letters from ' a ' to ' z ' . For each letter,
Create a package named alphabet and create a program that prints the letters from a to
z For each letter, display whether the letter is a vowel or a consonant. You can
consider aeiou and y as vowels, everything else is a consonant.
Use a whilefor loop, and a switch statement inside of the loop to generate this program.
Your output will look something like:
a is a vowel
b is a consonant
c is a consonant
d is a consonant
e is a vowel
f is a consonant
g is a consonant
h is a consonant
i is a vowel
j is a consonant
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
