C program to check if given letter is a vowel, consonant or an alphabet

In this article at OpenGenus, we will check whether the given alphabet or letter is a vowel, consonant or an alphabet. We have demonstrated this with a C program.

TABLE OF CONTENTQuestionApproach to the solutionImplementationOutputQUESTION

The problem is to write a pogram in C to read a character from the user and test it whether it a vowel or consonant or not an alphabet.

For example if we choose the alphabet "A", the output should be an vowel

APPROACH TO THE SOLUTION

Here Vowel: is defi...

 •  0 comments  •  flag
Share on Twitter
Published on April 17, 2023 03:18
No comments have been added yet.