Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Concessions: Water $0.50, Candy Bars $1.00, Popcorn $0.25, Soda $0.75. Fifth graders operate the concessions, and the software calculates the total of purchases. The software

Concessions: Water $0.50, Candy Bars $1.00, Popcorn $0.25, Soda $0.75.

Fifth graders operate the concessions, and the software calculates the total of purchases. The software shall ask the operator for the quantity of each item the customer desires to purchase. The software shall calculate the total cost of the requested concessions. The software shall communicate the total cost to the operator, who will tell the customer and collect the payment. For example, if someone purchases 2 waters, 4 candy bars, 4 popcorns, and 2 sodas, the software computes a total cost of $7.50. The software shall track additional cash donations made by customers. For example, a customer may pay $10.00 for $7.50 worth of concessions and say keep the change the software shall track the $2.50 received as a donation. At the end of the movie night, the software shall provide reports with the total funds raises, the total quantity of each item sold, the total sales, and the total donations.

Create a UML class diagram based on this scenario to include fields, methods, and relationships

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

9th Edition

0135188148, 978-0135188149, 9781642087611

More Books

Students also viewed these Databases questions

Question

2. How were various roles filled?

Answered: 1 week ago

Question

2. What process will you put in place to address conflicts?

Answered: 1 week ago