Answer to Question #313007 in Algorithms for KeKo

Question #313007

Write a program to find whether character entered is a vowel or a consonant. 


1
Expert's answer
2022-03-17T06:42:29-0400
Start
Declare char letter     
Display "Enter the letter: "
Input letter    
if letter = 'A' or letter = 'E' or letter = 'I' or letter = 'O' or letter == 'U' then
   Display "Letter is a VOWEL."
else 
   Display "Letter is a CONSONANT."
Stop

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS