+ 2

Anyone please help me for solving this program 🙏🙏🙏😞any one have code for this question plz.....

Define a class HOTEL to represent records of 10 customers with the following data member. i) room no. ii)name of customer iii) Type of Room (A for AC-Roon N for Non-AC Room) iv) Tariff (per day) v) Bill The class also contains functions do the following: i) Create an account of new customer (ii) To Calculate bill of Customer as per day per following specifications *AC- Rs. 500 *NON AC Rs. 300 per day (iii) To Display the data member (iv) Exit

13th Jun 2018, 3:45 PM
ⓢⓐⓝⓓⓔⓔⓟ
ⓢⓐⓝⓓⓔⓔⓟ - avatar
3 ответов
+ 4
I can think of a design with Room specifications and customer records as two separate class/struct and one main Hotel class to do the final payment process. Haven't you managed to come up with your own design yet?
13th Jun 2018, 8:35 PM
Babak
Babak - avatar
+ 4
Just a subsystem for your problem. https://code.sololearn.com/cA1UHn9UJ3Xa/?ref=app
14th Jun 2018, 1:47 PM
Babak
Babak - avatar
+ 2
Is this a homework? Or something else.🤔🤔 You have posted the question twice. Please delete one. https://www.sololearn.com/discuss/1021621/?ref=app
13th Jun 2018, 3:51 PM
Akash Pal
Akash Pal - avatar