Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main () {
- int input;
- cout<<"Pilihlah tempat wisata yang menurut anda menarik :"<<endl;
- cout<<"1. Pantai Senggigi"<<endl;
- cout<<"2. Pantai Kuta"<<endl;
- cout<<"3. Gili Kondo"<<endl;
- cout<<"Masukkan Wisata Yang anda Pilih :";
- cin>>input;
- if (input==1) {
- cout<<"Anda memilih Pantai senggigi";
- }
- else if (input==2) {
- cout<<"Anda memilih Pantai Pink";
- } else if (input==3) {
- cout<<"Anda memilih gili Tanjung";
- } else
- cout<<"Mohon maaf tidak ada didaftar";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement