-
Notifications
You must be signed in to change notification settings - Fork 38
/
1050.cpp
41 lines (36 loc) · 974 Bytes
/
1050.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
37
38
39
40
41
#include <iostream>
using namespace std;
int main(){
int a;
cin >> a;
switch(a){
case 11:
cout << "Sao Paulo\n";
break;
case 19:
cout << "Campinas\n";
break;
case 21:
cout << "Rio de Janeiro\n";
break;
case 27:
cout << "Vitoria\n";
break;
case 31:
cout << "Belo Horizonte\n";
break;
case 32:
cout << "Juiz de Fora\n";
break;
case 61:
cout << "Brasilia\n";
break;
case 71:
cout << "Salvador\n";
break;
default:
cout << "DDD nao cadastrado\n";
break;
}
return 0;
}