Question
To buy candy conveniently, is from a candy machine. A new candy machine is bought for the gym, but it is not working properly. The
To buy candy conveniently, is from a candy machine. A new candy machine is bought for the gym, but it is not working properly. The candy machine has four dispensers to hold and release items sold by the candy machine and a cash register. The machine sells four products candies, chips, gum, and cookies each of which is stored in a separate dispenser. You have been asked to analyze the above information, assist with the automation of the candy machine so that it can be put into operation. The program should do the following: Show the customer the different products sold by the candy machine Let the customer make the selection Show the customer the cost of the item selected Accept money from the customer Return change Release the item, that is, make the sale 5.1 Identify relevant business rules to reflect the above business process. (5) 5.2 Use the above scenario to draw a domain model class diagram. It is expected from you to add/derive at least one attribute for each class. Try to be original when assigning names.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started