switch case program example output in c

c program for egg game

switch case program example output in c   What would be the output of the following programs: main( ) { int k, j = 2 ; switch ( k = j + 1 ) { case 0 : printf ( “\nTailor”) ; case 1 : printf ( “\nTutor”) ; case 2 : printf ( “\nTramp”) … Read more

C program to Check VOWEL or CONSONANT

C Programming Tutorial

C program to Check VOWEL or CONSONANT This program is written in c language. This is a example of switch case. This will read a character from user as input and check whether it is VOWEL or CONSONANT. #include <stdio.h> int main() { char ch; printf(“Enter a character: “); scanf(“%c”,&ch); //condition to check character is … Read more