In this blog post, we learn how to write a C program to check vowel or consonant?. We will write the C program to check vowel or consonant using the if-else statement. How to check vowels and consonants using if else in C programming? C Program to input a character from user and check whether it is vowel or consonant.
There are 5 vowels in English alphabets, these are a, e, i, o, u. These vowels can be in uppercase or lowercase.