-
Notifications
You must be signed in to change notification settings - Fork 0
/
1050_DDD.cpp
36 lines (36 loc) · 1.16 KB
/
1050_DDD.cpp
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
/**** Md. Walid Bin khalid Aunkon ****/
/**** Daffodil International University ****/
/**** ID: 121-15-1669 ****/
/**** Email: mdwalidbinkhalidaunkon@gmail.com ****/
/**** Mobile No: +88-01916-492926 ****/
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a;
while(scanf("%d",&a)!=EOF)
{
switch (a)
{
case 61 : printf("Brasilia\n");
continue;
case 71 : printf("Salvador\n");
continue;
case 11 : printf("Sao Paulo\n");
continue;
case 21 : printf("Rio de Janeiro\n");
continue;
case 32 : printf("Juiz de Fora\n");
continue;
case 19 : printf("Campinas\n");
continue;
case 27 : printf("Vitoria\n");
continue;
case 31 : printf("Belo Horizonte\n");
continue;
default : printf("DDD nao cadastrado\n");
continue;
}
}
return 0;
}