The scenario and requirements from the user:You need to track candy orders for our fancy candy shop - think Fannie Mae.You make up a list of the candy you stock and how much you have on...



















The scenario and requirements from the user:




You need to track candy orders for our fancy candy shop - think Fannie Mae.




You make up a list of the candy you stock and how much you have on hand.




Your orders come in (12 pieces to a box) and the customer selects what candy and how many of each they want in the box. Subtract your on hand amounts as you fill your customers' orders. A box of candy should be able to handle more than one kind of candy. You must be able to handle out of stock conditions.




You'll need to decide how to prompt and how to indicate when you're done taking orders. You must handle multiple customers.




As you fill the orders write to a report file, the candy boxes and their content.




At the end write out a report with the candy you stock and how much is left on hand.




You will be given an individual assignment that details the programming scenario, the kind of data you must track, what kind of processing is needed, and what results are expected from the program




Your decisions:




V You will develop your own test plan, create your own test data.




You will decide what methods you need (i.e. searches - what kind, displays, what




kind)




Your programming algorithm document will identify in detail the process your program is following. It will contain supplemental information that will explain why vou made a particular choice.




v




Your program will have to handle one or more error conditions. (You decide what they are.)




Commenting




Each function must be commented. Those comments should define the purpose and identify what inputs and what outputs occur in the function or are passed to it.




Main must be commented to identify what inputs and outputs will occur and what actions the entire program will make.




Routines should be commented. Line by line comments are not a suitable method of commenting routines. Please follow suggestions made in class on commenting.




Presenting your work:




Prepare some slides ( 3 - 5 should be sufficient) to describe your program. Be prepared to demonstrate your working program on the day of the final. You will use the version that you have submitted via Blackboard.




You will have




approximately 5-7 minutes to talk.











































































































Dec 13, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here