DressingRooms class
• Define a class with a constructor that takes number of rooms as a parameter.
• The default constructor will use three rooms as the default.
• Use a semaphore object.
• Provide a method to wait and access next available room.
Customer class
• Constructor is included with a number of clothing items parameter.
• Use a random number when the number of items is not
Scenario class
• Accept the number of rooms and customers as parameters
• Create the rooms.
• Create the customers.
• Keep track of results.
Scenario00
Define a test using these parameters:
• 10 customers
Scenario01
Define a test using these parameters:
• 20 customers
Scenario02
Define a test using these parameters:
• 20 customers
1
Expert's answer
2018-10-21T00:50:23-0400
Dear Felicia, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment