-
Notifications
You must be signed in to change notification settings - Fork 0
/
Beecrowd1052.cs
58 lines (55 loc) · 1.46 KB
/
Beecrowd1052.cs
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
using System.Globalization;
namespace Course
{
class Program
{
static void Main(string[] args)
{
int month = int.Parse(Console.ReadLine());
string months;
switch (month)
{
case 1:
months = "January";
break;
case 2:
months = "February";
break;
case 3:
months = "March";
break;
case 4:
months = "April";
break;
case 5:
months = "May";
break;
case 6:
months = "June";
break;
case 7:
months = "July";
break;
case 8:
months = "August";
break;
case 9:
months = "September";
break;
case 10:
months = "October";
break;
case 11:
months = "November";
break;
case 12:
months = "December";
break;
default:
months = "Mes invalido";
break;
}
Console.WriteLine(months);
}
}
}