Check Whether a Character Is a Vowel, Consonant, Digit, or Special Character in C

This program reads a character from the keyboard and, using if-else statements, determines whether it is a vowel, consonant, digit, or special character. C Program #include <stdio.h> int main() { char ch; printf(“Enter a character: “); scanf(” %c”, &ch); if ((ch >= ‘a’ && ch = ‘A’ && ch = ‘A’ && ch = ‘0’ … Read more