Question: Programming logic and design 0,5.2 Assume that a Chocoburries wants to see a list of aW the chocolates sold in the (9) last month as

Programming logic and design  Programming logic and design 0,5.2 Assume that a Chocoburries wants to

0,5.2 Assume that a Chocoburries wants to see a list of aW the chocolates sold in the (9) last month as well as the total value for all the chocolates sold. A program must accept sales data that includes the name of the chocolate item sold and its total price sold for that month To create a sales report, you must first get the chocolate type and total amount of chocolate sold from an input source until user enters zzz, then output the chocolate type and total price for each chocolate sold and add its value to an accumulator. Output the total accumulated price of all chocolates sold once user has finished entering all the chocolate items and their respective prices. The programs report should be similar to the following: MONTH-END BALE3 REPORT Brice R1O50 R2540 R5460 R2980 R3350 R15380 Rum and Raison Top Deck Mint Choco Nhole Nut Total: Use a loop and pseudocode below to complete the logic contained in the above Declarations string chocType num price num accunPrice0 num QUIT = "ZZZ', output "HONTH-END SALES REPORT output "Chocolate t output "Enter the chocolate type>> input chocType output "Total R", accumPrice Price" top

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!