Define a structure that describes a hotel.

a) Define a structure that describes a hotel. It should have members that include the name,
address, grade, average room charge and number of rooms.
Write a function to perform the following tasks.
i) To print all hotels details of a given grade in order of charges.
ii) To print hotel details with room charges less than given values.
b) What are the disadvantages of nested if-else statement?


Leave a Reply