0% found this document useful (0 votes)
10 views1 page

Eigth

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views1 page

Eigth

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

import java.util.

Scanner;
class main{
public static void main(String args[]){
Scanner scan=new Scanner(System.in);
int month=scan.nextInt();
switch(month){
case 1:
System.out.println("jan");
break;
case 2:
System.out.println("feb");
break;
case 3:
System.out.println("mar");
break;
case 4:
System.out.println("april");
break;
case 5:
System.out.println("may");
break;
case 6:
System.out.println("june");
break;
case 7:
System.out.println("july");
break;
case 8:
System.out.println("aug");
break;
case 9:
System.out.println("sep");
break;
case 10:
System.out.println("oct");
break;
case 11:
System.out.println("nov");
break;
case 12:
System.out.println("dec");
break;
case 13:
System.out.println("default");
break;

}
}
}

You might also like