-
Notifications
You must be signed in to change notification settings - Fork 0
/
l1_11.c
54 lines (49 loc) · 1.01 KB
/
l1_11.c
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
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
int main() {
int m1;
scanf("%d", &m1);
switch (m1)
{
case 1:
printf("Jan.");
break;
case 2:
printf("Fev.");
break;
case 3:
printf("Mar.");
break;
case 4:
printf("Abr.");
break;
case 5:
printf("Mai.");
break;
case 6:
printf("Jun.");
break;
case 7:
printf("Jul.");
break;
case 8:
printf("Ago.");
break;
case 9:
printf("Set.");
break;
case 10:
printf("Out.");
break;
case 11:
printf("Nov.");
break;
case 12:
printf("Dez.");
break;
default:
printf("Invalido.");
break;
}
}