c++ code for :(use file, functions,string,arrays,etc)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...

1 answer below »



c++ code for :(use file, functions,string,arrays,etc)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

Answered Same DayDec 13, 2022

Answer To: c++ code for :(use file, functions,string,arrays,etc)The scenario and requirements from the user:You...

Vikas answered on Dec 13 2022
39 Votes
1 Order Details:
1 Candies of type: Chocolate Flavoured Beans
7 Candies of type: Chocolate Butter
scotch
4 Candies of type: Dark Chocolate Almond Candy
2 Order Details:
8 Candies of type: Chocolate Vanilla Fudge
2 Candies of type: Fruit Jellies
1 Candies of type: Fizzy Mini Strawberry...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here