-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuri-50.cpp
More file actions
49 lines (44 loc) · 780 Bytes
/
Copy pathuri-50.cpp
File metadata and controls
49 lines (44 loc) · 780 Bytes
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
#include<iostream>
using namespace std;
int main()
{
int input;
cin>>input;
if(input == 11)
{
cout<<"Sao Paulo"<<endl;
}
else if(input == 19)
{
cout<<"Campinas"<<endl;
}
else if(input == 21)
{
cout<<"Rio de Janeiro"<<endl;
}
else if(input == 27)
{
cout<<"Vitoria"<<endl;
}
else if(input == 31)
{
cout<<"Belo Horozonte"<<endl;
}
else if(input == 32)
{
cout<<"Juiz de Fora"<<endl;
}
else if(input == 61)
{
cout<<"Brasilia"<<endl;
}
else if(input == 71)
{
cout<<"Salvador"<<endl;
}
else
{
cout<<"DDD nao cadastrado"<<endl;
}
return 0;
}