#include<iostream>
usi ng namespace std;
int main()
{
float charges;
cout<<"\t\t\t=============================================="<<endl;
cout<<"\t\t\tlist of abasyn hostal rooms and rents and menu"<<endl;
cout<<"\t\t\t=============================================="<<endl;
cout<<endl;
cout<<"\t1.check list of abasyn hostal rooms and rents"<<endl;
cout<<endl;
cout<<"\t2.check the mess menu"<<endl;
cin>>press;
if(press==1)
{
cout<<"\t\t\t======================================="<<endl;
cout<<"\t\t\tlist of abasyn hostal rooms and rents"<<endl;
cout<<"\t\t\t======================================="<<endl;
cout<<"\n\n\n\n";
cout<<"\t1.for one seated room please enter 1:"<<endl;
cout<<endl;
cout<<"\t2.for two seated room please enter 2:"<<endl;
cout<<endl;
cout<<"\t3.for three seated room please enter 3:"<<endl;
cout<<endl;
cout<<"\t4.for four seated room please enter 4:"<<endl;
cout<<endl<<endl;
cout<<"\t\tplease enter your choice:";
cin>>choice;
if(choice==1)
{
cout<<"\tyou select the one seated room:"<<endl;
cout<<"\tcharges of one seated room is 15000:"<<endl;
cout<<"\tfor how months you choice the one seated room?"<<endl;
cin>>months;
charges=months*15000.00;
cout<<"\tyour charges of enterd months are:"<<charges<<endl;
}
else if(choice==2)
{
cout<<"\tyou select the two seated room:"<<endl;
cout<<"\tcharges of two seated room is 12500:"<<endl;
cout<<"\tfor how months you choice the two seated room?"<<endl;
cin>>months;
charges=months*12500.00;
cout<<"\tyour charges of enterd months are:"<<charges<<endl;
}
else if(choice==3)
{
cout<<"\tyou select the three seated room:"<<endl;
cout<<"\tcharges of three seated room is 10000:"<<endl;
cout<<"\tfor how months you choice the three seated room?"<<endl;
cin>>months;
charges=months*10000.00;
cout<<"\tyour charges of enterd months are:"<<charges<<endl;
}
else if(choice==4)
{
cout<<"\tyou select the four seated room:"<<endl;
cout<<"\tcharges of four seated room is 90000:"<<endl;
cout<<"\tfor how months you choice the four seated room?"<<endl;
cin>>months;
charges=months*9000.00;
cout<<"\tyour charges of enterd months are:"<<charges<<endl;
}
else
{
cout<<" \t in abasyn hostal the average capacity is 4 seated room please enter between 1 to 4 seated room";
}
}
if(press==2)
{
cout<<"\t\t\t=========================="<<endl;
cout<<"\t\t\tmess menu of abasyn hostal"<<endl;
cout<<"\t\t\t=========================="<<endl;
}
return 0;
}
output:
Good
ReplyDeleteWell done jiger
ReplyDelete