Design a program for a hotel with 10 rooms using code which is similar to the hotel array code
given in the lecture notes. Start by checking the code in the notes works for you.
Once the basic code runs, then put the code that âViews All roomsâ and âAdds customer to roomâ,
into separate procedures. The main body of the program should have a loop; and in the loop the
program should call (or use) these two procedures as necessary. The procedures then return to the
loop to go around again. You should test that this all works as required.
Then add a menu system, which allow the user to choose what they want to select. Enter an âAâ to
add a customer to a room, and a âVâ to view all rooms. (To do a menu see the âarithâ program in the
notes about âIfsâ from last semester â or see the âarithâ program code which is towards the start of
the code examples [link is on the videos web page]) When an âAâ is pressed it should do the Add
procedure, or a âVâ should do the View procedure.
One by one, add extra procedures to do each of the following. The user should be able to choose
from the menu what the program does.
E: Display Empty rooms,
D: Delete customer from room,
F: Find room from customer name (the search should not be case sensitive).
S: Store program array data into a plain text file,
L: Load program data back from the file into the array.
O: View rooms Ordered alphabetically by name. Write the sort algorithm code yourself rather
than using an in-built sort function
Place your order now for a similar paper and have exceptional work written by our team of experts to guarantee you A Results
Why Choose USÂ Â
   6+ years experience on custom writing
   80% Return Client
   Urgent 2 Hrs Delivery
   Your Privacy Guaranteed
   Unlimited Free Revisions
