Define a class resort in c++ with the following description.
rno, name, charges, days as data members and
get info, compute and print info as function members.
Answers
Answered by
2
Answer:
- Rno // Data Member to store Room No. - Name // Data Member to store Customer Name. - Charges // Data Member to store per day charges. - Days // Data Member to store number of days of stay. - COMPUTE()// Member function to calculate and retun Amount.
Explanation:
rno, name, charges, days as data members and
get info, compute and print info as function members.
Similar questions