Switch case
Required knowledge
List of switch case programming exercises
- Write a C program to print day of week name using a switch case.
- Write a C program print total number of days in a month using a switch case.
- Write a C program to check whether an alphabet is a vowel or consonant using a switch case.
- Write a C program to find the maximum between two numbers using a switch case.
- Write a C program to check whether a number is even or odd using a switch case.
- Write a C program to check whether a number is positive, negative or zero using a switch case.
- Write a C program to find roots of a quadratic equation using a switch case.
- Write a C program to create a Simple Calculator using a switch case.
No comments