Write a program to find whether character entered is a vowel or a consonant.
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
Comments
Leave a comment