Computer Science, asked by effersha, 1 year ago

computer programs about the switch case

Answers

Answered by Mimu123
1
List of switch case statement programs in C
•C program to read weekday number and print weekday name using switch:-
This program will read weekday number and print its corresponding week name switch case statement in C language.
•C program to read gender (M/F) and print corresponding gender using switch:-
This program will read gender in single character like 'M' or 'F' and print its corresponding complete word "Male" or "Female" using switch case statement in C language.
•C program to check whether a character is VOWEL or CONSONANT using switch:-
This program will read a character and check whether it is VOWEL or CONSONANT using switch case statement in C language.
•C program to design calculator with basic operations using switch:-
This program will read two integer numbers and perform basic operations like +, -, *, / and % using switch case statement in C language (this program is a simple calculator program with basic operations).
•C program to check whether number is EVEN or ODD using switch:-
This program will read an integer number and check whether it is EVEN or ODD using switch case statement in C language.
•C program to find number of days in a month using switch case:-
This program will read month value and print total number of days in input month in C language.
Similar questions