Lets write a C program to check whether user entered character is a vowel or a consonant. Related Read: if…