#include <cstdlib>
#include <cmath>
#include <iomanip>
using namespace std;
int main()
{
int days, Total;
char ch;
int room;
cout<<setw(60)<<"**********Happy Island Resort**********"<<endl;
cout<<"\t[J] Japan \n";
cout<<"\t[K] Korea \n";
cout<<"Where did you stay? "<<endl;
cin>>ch;
if(ch == 'J' || ch == 'j')
{
cout<<"Types of room:"<<endl;
cout<<"\t[1] Aincrad Room \n";
cout<<"\t[2] Fairy Tail Room \n";
cout<<"\t[3] Shiganshina Room \n";
cout<<"What is the type of room? ";
cin>>room;
cout<<"How many days? ";
cin>>days;
switch(room)
{
case 1:
{
float SAO[4]={2550.75,3550.75,5000.50, 4500.75};
int total1;
cout<<"Service Charge";
cout<<setw(25)<<"$2550.75"<<endl;
cout<<"Kimono(Japanese Dress)";
cout<<setw(17)<<"$3550.75"<<endl;
cout<<"Futons(5 beds)";
cout<<setw(25)<<"$5000.50"<<endl;
cout<<"Electricity Fee";
cout<<setw(24)<<"$4500.75"<<endl;
total1=SAO[0]+SAO[1]+SAO[2]+SAO[3];
cout<<setprecision(10)<<"Total of extra fee is: "<<setw(9)<<"$"<<total1<<endl;
Total=days*total1;
cout<<"The total amount is: "<<setw(11)<<"$"<<Total<<endl;
system ("pause");
system("cls");
cout<<"Arigatou gozaimasu! Thank you for choosing Happy Island Resort."<<endl;
cout<<"We hope you enjoyed your stay and experienced Japan's Culture"<<endl;
}
break;
case 2:
{
double Service = 2550.75,Hanbok = 3550.75,Futons = 8000.50, Elec = 4500.75, total2;
cout<<"Service Charge";
cout<<setw(25)<<"$2550.75"<<endl;
cout<<"Kimono(Japanese Dress)";
cout<<setw(17)<<"$3550.75"<<endl;
cout<<"Futons(8 beds)";
cout<<setw(25)<<"$8000.60"<<endl;
cout<<"Electricity Fee";
cout<<setw(24)<<"$4500.75"<<endl;
total2=Service+Hanbok+Futons+Elec;
cout<<"Total of extra fee is: "<<setw(9)<<"$"<<total2<<endl;
Total=days*total2;
cout<<"The total amount is: "<<setw(11)<<"$"<<Total<<endl;
system ("pause");
system("cls");
cout<<"Arigatou gozaimasu! Thank you for choosing Happy Island Resort."<<endl;
cout<<"We hope you enjoyed your stay and experienced Japan's Culture"<<endl;
}
break;
case 3:
{
double Service = 2550.75, Hanbok = 3550.75, Futons = 10250.60, Elec = 7550.75, total3;
cout<<"Service Charge";
cout<<setw(25)<<"$2550.75"<<endl;
cout<<"Kimono(Korean Dress)";
cout<<setw(17)<<"$3550.75"<<endl;
cout<<"Futons(10 beds)";
cout<<setw(25)<<"$10250.60"<<endl;
cout<<"Electricity Fee";
cout<<setw(24)<<"$7550.75"<<endl;
total3=Service+Hanbok+Futons+Elec;
cout<<"Total of extra fee is: "<<setw(9)<<"$"<<total3<<endl;
Total=days*total3;
cout<<"The total amount is: "<<setw(11)<<"$"<<Total<<endl;
system ("pause");
system("cls");
cout<<"Arigatou gozaimasu! Thank you for choosing Happy Island Resort."<<endl;
cout<<"We hope you enjoyed your stay and experienced Japan's Culture"<<endl;
}
break;
}
}
else if ( ch == 'K' || ch == 'k')
{
cout<<"Types of room:"<<endl;
cout<<"\t[1] SHINee Room \n";
cout<<"\t[2] Sone Room \n";
cout<<"\t[3] Primadonna Room \n";
cout<<"What is the type of room? ";
cin>>room;
cout<<"How many days? ";
cin>>days;
switch(room)
{
case 1:
{
const double Service=2550.75, Hanbok=3550.75,Futons=5000.50, Elec=4500.75;
int total1;
cout<<"Service Charge";
cout<<setw(25)<<"$2550.75"<<endl;
cout<<"Hanbok(Korean Dress)";
cout<<setw(19)<<"$3550.75"<<endl;
cout<<"Ibul (5 beds)";
cout<<setw(26)<<"$5000.50"<<endl;
cout<<"Electricity Fee";
cout<<setw(24)<<"$4500.75"<<endl;
total1=Service+Hanbok+Futons+Elec;
cout<<setprecision(10)<<"Total of extra fee is: "<<setw(9)<<"$"<<total1<<endl;
Total=days*total1;
cout<<"The total amount is: "<<setw(11)<<"$"<<Total<<endl;
system ("pause");
system("cls");
cout<<"Kamsahamnida! Thank you for choosing Happy Island Resort."<<endl;
cout<<"We hope you enjoyed your stay and experienced Korea's Culture"<<endl;
}
break;
case 2:
{
double Service = 2550.75,Hanbok = 3550.75,Futons = 8000.50, Elec = 4500.75, total2;
cout<<"Service Charge";
cout<<setw(25)<<"$2550.75"<<endl;
cout<<"Hanbok(Korean Dress)";
cout<<setw(19)<<"$3550.75"<<endl;
cout<<"Ibul (8 beds)";
cout<<setw(26)<<"$8000.60"<<endl;
cout<<"Electricity Fee";
cout<<setw(24)<<"$4500.75"<<endl;
total2=Service+Hanbok+Futons+Elec;
cout<<"Total of extra fee is: "<<setw(9)<<"$"<<total2<<endl;
Total=days*total2;
cout<<"The total amount is: "<<setw(11)<<"$"<<Total<<endl;
system ("pause");
system("cls");
cout<<"Kamsahamnida! Thank you for choosing Happy Island Resort."<<endl;
cout<<"We hope you enjoyed your stay and experienced Korea's Culture"<<endl;
}
break;
case 3:
{
double Service = 2550.75, Hanbok = 3550.75, Futons = 10250.60, Elec = 7550.75, total3;
cout<<"Service Charge";
cout<<setw(25)<<"$2550.75"<<endl;
cout<<"Hanbok(Korean Dress)";
cout<<setw(19)<<"$3550.75"<<endl;
cout<<"Ibul(10 beds)";
cout<<setw(25)<<"$10250.60"<<endl;
cout<<"Electricity Fee";
cout<<setw(24)<<"$7550.75"<<endl;
total3=Service+Hanbok+Futons+Elec;
cout<<"Total of extra fee is: "<<setw(9)<<"$"<<total3<<endl;
Total=days*total3;
cout<<"The total amount is: "<<setw(11)<<"$"<<Total<<endl;
system ("pause");
system("cls");
cout<<"Kamsahamnida! Thank you for choosing Happy Island Resort."<<endl;
cout<<"We hope you enjoyed your stay and experienced Korean's Culture"<<endl;
}
break;
}
}
cout<<setw(60)<<"**********Happy Island Resort**********"<<endl;
system("pause>0");
return 0;
}
//Pano yung babalik yung program sa simula? Yung mamimili ka ulit sa choices. Last na po yan TY