-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUri1052.java
More file actions
36 lines (33 loc) · 1.02 KB
/
Uri1052.java
File metadata and controls
36 lines (33 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import java.util.Scanner;
class Uri1052{
public static void main(String[] args){
int mes = 1;
Scanner input = new Scanner(System.in);
mes = input.nextInt();
if(mes == 1){
System.out.println("January");
}else if(mes == 2){
System.out.println("February");
}else if(mes == 3){
System.out.println("March");
}else if(mes == 4){
System.out.println("April");
}else if(mes == 5){
System.out.println("May");
}else if(mes == 6){
System.out.println("June");
}else if(mes == 7){
System.out.println("July");
}else if(mes == 8){
System.out.println("August");
}else if(mes == 9){
System.out.println("September");
}else if(mes == 10){
System.out.println("October");
}else if(mes == 11){
System.out.println("November");
}else if(mes == 12){
System.out.println("December");
}
}
}