Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 image text in transcribed
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

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

Step: 3

blur-text-image

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

More Books

Students also viewed these Databases questions

Question

How does the concept of hegemony relate to culture?

Answered: 1 week ago