Lengkap

Hotel room

Define a class called HotelRoom. It has the following member data: length_stay which records the number of days the guest(s) intends to stay; occupancy_status is the number of guests staying in the specific hotel room; guestname is a character pointer to the guest’s name registering the hotel room and room_number is a character pointer to the room number registered by the guest. Derive from the HotelRoom class, the classes GuestRoom and MeetingRoom. The HotelRoom class therefore needs a RoomType to differentiate between these two types of HotelRoom object. Each of these classes should have a Display( ) function which displays a report on the screen the attributes and the hotel bill of each HotelRoom object; and calculateBill( ) function to work out the bill for each HotelRoom object. Another member function occupancy_change( ) should be created to increase or decrease the number of guests using the specific hotel room. The number of guest increased should be constrained by the maximum capacity of each room. The class MeetingRoom should contain the integer member capacity, which represents the maximum number of the seats in the MeetingRoom object; the static integer data member MeetingRoom_qty, which represents the total number of MeetingRoom objects created so far. Since the charge rate per day is the same for all MeetingRoom class room, there is a need to establish a static rate for the calculation of the bill for the MeetingRoom class room. The formula for calculating the bill for the meeting room is rate * length_stay. The GuestRoom class can be further classified into Normal class and Suite class. The data member of GuestRoom class should have a type to differentiate between the Normal and Suite class of objects; and the static integer data member total_guestroom_qty, which represents the total number of GuestRoom objects created so far. Each of the Normal class and the Suite class has a static double value called rate, which indicates the service char

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. 4) Pls see the zip file for more detail as I can't type all the info in the description

## Platform

Win NT 4/Win 2K Program to be written in MS Visual C++ - Win32 console application

Kemahiran: Pengaturcaraan C, Kejuruteraan, MySQL, PHP, Kejuruteraan Perisian, Ujian Perisian

Lihat lagi: win32 programming, static programming, programming define, programming data types, pointer programming, double programming, double in c programming, define programming, define functional programming, define c programming, c programming static, c programming pointer, c programming double, c programming define, c programming data types, c programming char, char in c programming, char c programming, 0 1 integer programming, room by room

Tentang Majikan:
( 0 ulasan ) Singapore

ID Projek: #2917050

Dianugerahkan kepada:

hernest

See private message.

$21.25 USD dalam 14 hari
(122 Ulasan)
6.8

31 pekerja bebas membida secara purata $17 untuk pekerjaan ini

adrianlazariuc

See private message.

$11.05 USD dalam 14 hari
(75 Ulasan)
6.0
sanatanvw

See private message.

$25.5 USD dalam 14 hari
(72 Ulasan)
5.5
petarsvw

See private message.

$12.75 USD dalam 14 hari
(26 Ulasan)
5.1
ingeniadesign

See private message.

$15.3 USD dalam 14 hari
(53 Ulasan)
5.1
leepwo

See private message.

$25.5 USD dalam 14 hari
(41 Ulasan)
4.7
herculesevw

See private message.

$17 USD dalam 14 hari
(79 Ulasan)
4.7
ziran

See private message.

$10.2 USD dalam 14 hari
(47 Ulasan)
4.5
emesevw

See private message.

$11.05 USD dalam 14 hari
(111 Ulasan)
4.4
lalesculiviu

See private message.

$25.5 USD dalam 14 hari
(18 Ulasan)
4.2
javoreu

See private message.

$22.1 USD dalam 14 hari
(39 Ulasan)
3.7
neelemtechn

See private message.

$17 USD dalam 14 hari
(19 Ulasan)
3.6
salajanvw

See private message.

$21.25 USD dalam 14 hari
(14 Ulasan)
3.4
stefanc

See private message.

$11.05 USD dalam 14 hari
(17 Ulasan)
3.0
ovidiucn

See private message.

$8.5 USD dalam 14 hari
(4 Ulasan)
2.7
dannynoest

See private message.

$12.75 USD dalam 14 hari
(15 Ulasan)
2.7
vw653941vw

See private message.

$25.5 USD dalam 14 hari
(11 Ulasan)
2.4
nickyro

See private message.

$17 USD dalam 14 hari
(8 Ulasan)
2.3
smartpinstu

See private message.

$21.25 USD dalam 14 hari
(5 Ulasan)
1.8
vw692063vw

See private message.

$25.5 USD dalam 14 hari
(1 Ulasan)
1.8
ultimatecodersvw

See private message.

$17 USD dalam 14 hari
(2 Ulasan)
1.3