Can anyone lend a hand for a C++ assignment about hotels?

I am extremely confused and frustrated. I hate waking up to the thought that i will never be able to even start a C++ assignment. I signed up for this class and I cannot understand it at all. I have a C in it so far and it's too late to drop. Please find it in your heart to help me. I just want to get through this class and never see another programming assignment again. Please! There's nothing i would appreciate more, than to get some help. Thanks

Assignment
Hotel Occupancy

Write a C++ program that will determine the occupancy statistics for a hotel. Use loops to get information about each floor of the hotel. You are to ask the Hotel operator the following questions

How many floors are there in the hotel?
Do not accept less than 5 floors or more than 25
Do you have a floor numbered 13
Some Hotels are superstitious
How does this impact the numbering?
For each floor ask
How many rooms are there on that floor
Do not accept less that 10 rooms or more than 30
How many rooms are occupied
Be sure that the number of rooms occupied is less than or equal to the number of rooms on that floor
Do not assume that all floors have the same number of rooms

Display for each floor
The floor number
Total Number of rooms on that floor
Number of rooms occupied on that floor
Number of rooms unoccupied on that floor
Percentage occupied (occupied / total rooms)*100 for that floor

Display for Hotel
Total Number of floors
Total Number of rooms
Number of rooms occupied
Number of rooms unoccupied
Percentage occupied (occupied / total rooms)*100

Display all information in a orderly fashion with straight columns
Percentages should be displayed to 2 decimal places of accuracy with a % sign
For all invalid input display what is wrong and ask for information to be re-entered

Hints:
Use the continue statement to deal with the 13th floor
Maintain running totals for information needed for the entire hotel.
Topic archived. No new replies allowed.