a program in C programming langguage to check whether a character is a vowel or a consonant using the Switch Case statement.

Explanation
1. We start by including the stdio.h header file required for input and output operations.
2. We declare a variable ch of type char to store the input character.
3. We ask the user to enter characters using printf() and read the input characters using scanf().
4. We use a switch to check the entered character against the lowercase and uppercase vowels "a", "e", "i", "o", "u".
5. If the input character matches any vowel, we print that it is a vowel with printf().
6. If the entered character does not match any vowel, we use the default case to print that it is a consonant.
7. Finally, return 0 indicates successful execution of the program.


Previous :-->> 5. Write a program in C to find the roots of a quadratic equation using if-else commands.
 -->> NEXT: 7. write a C program to calculate the electricity bill based on units consumed using switch case.
-->>ALL Conditionl statements Programs