Answer to Question #82236 in C# for Felicia

Question #82236
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

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS