Question: How to improve this code to get same output CWindows system32cmd.exe BlueMont Hotel Enter the location for this hotel chain : LA Enter total number

How to improve this code to get same output

How to improve this code to get same output C\\Windows \\system32\\cmd.exe BlueMont

C\\Windows \\system32\\cmd.exe BlueMont Hotel Enter the location for this hotel chain : LA Enter total number of floors on this hotel: 1 Enter total number of rooms on floor 1 : 10 How many SINGLE rooms are occupied on the 1 th floor? 10 low many DOUBLE rooms are occupied on the 1 th floor? 1 low many KING rooms are occupied on the 1 th floor? 0 How many SUITES are occupied on the 1 th floor? 0 Total number of occupied rooms exceeds the total number of rooms on this floor. Please try again! ! Enter total number of rooms on floor 1 : 20 How many SINGLE rooms are occupied on the 1 th floor? 10 low many DOUBLE rooms are occupied on the 1 th floor? 2 low many KING rooms are occupied on the 1 th floor? 2 How many SUITES are occupied on the 1 th floor? 2 BlueMont Hotel located at LA Today's Room Rates Single Room Double Room King Room Suite Roon 60 75 100 150 Hotel Income 1250 Total # of Rooms 20 Total # of Occupied Rooms 16 Total # of Unoccupied Rooms 4 Occupancy Rate 80 . 00% Ith Floor with 20 rooms has the least # of rooms. Press any key to continue

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!