Question: #Write program prompting user to enter room capacity ( i . e . , maximum number of guests that can stay in a room )
#Write program prompting user to enter room capacity ie maximum number of guests that can stay in a room and total number of guests.
#Compute and display the minimum number of rooms required for the guests to stay.
#Use math function to round the result up to the next integer
#Display result in format below
#Examples:
#Enter room capacity:
#Enter total number of guests:
#Room capacity:
#Number of guests:
#Number of rooms required:
#Enter room capacity:
#Enter total number of guests:
#Room capacity:
#Number of guests:
#Number of rooms required:
#Enter room capacity:
#Enter total number of guests:
#Room capacity:
#Number of guests:
#Number of rooms required:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
