C Programming Code Examples C > If Else and Switch Case Code Examples Break statement in Switch Case if statement - display a number if user enters negative number if...else statement - check whether an integer entered by the user is odd or even C program check whether a number is even or odd C Program to Accept two Integers and Check if they are Equal C program to calculate electricity bill program to calculate profit or loss check even or odd number using switch case C Program to Check if a given Integer is Odd or Even Program to Check if a given Integer is Positive or Negative C Program to check if number is even or odd C program to check Leap Year program to check vowel or consonant using switch case C program to check vowel or consonant C program to check whether a character is alphabet or not check whether a character is alphabet, digit or special character C program to check whether a character is Uppercase or Lowercase program to check whether a number is divisible by 5 and 13 or not C program to check whether a number is positive, negative or zero Program to check whether the given integer is positive or negative check whether triangle is equilateral, scalene or isosceles C program to check whether triangle is valid or not if angles are given program to check whether triangle is valid or not if sides are given count total number of notes in given amount create calculator using switch case and functions C program to enter basic salary and calculate gross salary of an employee C program to enter student marks and find percentage and grade program to enter week number and print day of week find all roots of a quadratic equation using switch case C program to find all roots of a quadratic equation C program to find maximum between three numbers C program to find maximum between two numbers using switch case C program to find maximum between two numbers program to find number of days in month C program to print day of week name using switch case program to print number of days in a month using switch case Compare Three integers in C Compare two integers in C Console menu: switch with char case Cube Root Program In C Check if a Number is Positive or Negative Using if...else Program to Check Even or Odd Check if a Number is Positive or Negative Using Nested if...else GCD Using while loop and if...else Statement Program to Display English Alphabets in Uppercase and Lowercase Page 1 Page 2