Computer Science, asked by deepasharma55, 2 months ago

write an algorithm to check if a given letter is a vowel or not​

Answers

Answered by harsh472008
2

Answer:

sorry I had tryed many times but I couldn't find the answer

Answered by wwwanushkakhushicom
1

Answer:

Algorithm to check whether a character is vowel or consonant

We first declare a variable ch of character datatype.

Then we read one character from the user and store it in a variable "ch"

Then we compare "ch" with the vowels in both upper and lower case. If it matches we print "vowel" else we print "Consonant".

Similar questions