10+ Java Program on Switch Statement

10+ Java Program on Switch Statement

  1. Java Program to print day name of given week using switch statement.
  2. Java Program print total number of days in a given month using switch Statement.
  3. Java Program to check a given alphabet is vowel or consonant using switch statement.
  4. Java Program to check a given number is positive, negative or zero using switch statement.
  5. Java Program to print maximum among two numbers using switch statement.
  6. Java Program to check a given number is even or odd using switch statement.
  7. Java Program to create Simple Calculator using switch statement.
  8. Java Program to check whether a year is a leap year or not using switch statement.
  9. Java Program to check a given triangle is an equilateral, isosceles or scalene triangle using switch statement.
  10. Java Program to Convert positive number into negative and negative number into a positive using switch statement.