switch statement java
int age = 9;
switch(age){
case 1:
System.out.println("You are 1 year old");
case 5:
System.out.println("You are 5 years old");
case 9:
System.out.println("You are 9 years old");
default:
System.out.println("Ain't know how many years you are");