Question: Create a requirements document and a Use case Definition document and design a Windows application based on the case project shown in Figure 6-135: The
Create a requirements document and a Use case Definition document and design a Windows application based on the case project shown in Figure 6-135: The Comet Hostel asks you to write a Windows application that computes the occupancy of the hostel. Occupancy rate a percentage that is equal to the number of rooms available. The hostel has 13 floors. The user should use an InputBox function to respond to two questions about each floor: How many rooms are occupied on that floor? How many rooms on the floor are vacant? Display which floor you are asking about in each question. Display how many rooms are occupied and vacant on each floor in a ListBox object. After the user has entered all the information, display the following results: the total number of rooms at the hotel, the number of occupied rooms, and the number of vacant rooms. Also display the occupancy rate as percentage, such as 61%. Nonnumeric values should not be accepted. Do not accept negative numbers. A menu should ext the program. Publish the application after testing it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
