COMS 172 Project 2
Scenario: CandyCo is a candy supplier to many convenience stores in the Mid-Michigan region. CandyCo gets daily orders, fills them, and ships them. Their sales person, Sam, is the one who brings in the requests and ships delivers the product. On a daily basis, Sam brings in an order sheet that contains product UPC and quantity. CandyCo is not concerned about who is ordering product or where it is going because Sam is also responsible for collections. An order sheet may look like what is represented (notice that some products are entered more than once):
UPC Quantity
0921115150 17
2221001501 5
6652300415 32
2221001501 3
0255541028 12
0921115150 14
2221001501 3
Objective: Create an application that allows data entry staff to enter products sold and view batch reports on how many of each item has sold. The report can be displayed to screen in any manner that you deem necessary. The report must display the product name and total quantity sold after data entry has been made.
UPC Item
0921115150 Dark Chocolate Truffles
2221001501 Mint Meltaways
6652300415 Chocolate Covered Cherries
0255541028 Malted Milk Balls
0921115141 Chocolate Covered Raisins
Grading:
Item Point Value
Application accepts data input 15
Application stores data input values in array(s) 15
Application stores products in array(s) 20
Application displays total sales by item when button is clicked or other event is fired 15
A sub procedure or function is used 15
Application uses some form or repeating program instruction 15
Program requires no use of a mouse (extra credit) – anything that requires the use of the tab key will be considered use of a mouse 10
extra credit
Total Points 95