classes

Write your question here.
write a hotel billing application

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  #include <iostream>
using namespace std;
class hotel
{
 public:
void rooms()
{cout<<".....HERE ARE THE TYPES OF ROOMS AVAILABLE.....\n";
    cout << "Please Choose The Type Of Room You Want\n";
    cout <<"1.King size : GH280 \n";
     cout <<"2.Queen size : GH235 \n";
      cout <<"3.Standard size : GH200 \n";
       cout <<"4.Common suit size : GH120 \n";}

};



int main()
{hotel Rooms;
    cout << "=========HOTEL DE MULLA==========\n\n";
    Rooms.rooms();
    return 0;
}
What is actually the question?
Topic archived. No new replies allowed.