-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
32 lines (22 loc) · 748 Bytes
/
main.cpp
File metadata and controls
32 lines (22 loc) · 748 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
#include <iostream>
using namespace std;
int main()
{
int uang;
cout << "TEMPAT NUGAS SEKITAR POGUNG" << endl;
cout << "---------------------------" << endl;
cout << "budget" << endl;
cout << "1. 10.000-15.000" << endl;
cout << "2. 15.000-25.000" << endl;
cout << "3. 25.000-35.000" << endl;
cout << "\nBerapa budget anda???: ";
cin >> uang;
switch(uang)
{
case 1: cout <<"silahkan datang ke ngopi-ngopi dan kafe djawa"; break;
case 2: cout <<"silahkan datang ke antologi dan blackbone"; break;
case 3: cout <<"silahkan datang ke relasi dan lantai bumi"; break;
default: cout <<"silahkan isi kode budget dengan benar ";
}
return 0;
}