Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I NEED HELP DOING THIS WHAT IS THE CORRECT ANSWER FOR THIS THNAK YOU APPRECIATE IT Instructions Goal: You have been asked to produce the
I NEED HELP DOING THIS WHAT IS THE CORRECT ANSWER FOR THIS THNAK YOU APPRECIATE IT
Instructions Goal: You have been asked to produce the report below. This report will tell the company how sales are going. Design a program reads "sodaSales.dat" file data and generates report on console/file/both. More Details: - You will read the file named sodasales.dat The values in the data file are in the following order: brand name, bottles sold, the cost per bottle, the retail price. Generate data in following format: Note: Profit Brand is not given. You need to calculate it. Profit Brand =( Bottles Sold )( Retail bottle Cost bottle ) - You will also produce a summary line at the end of the report. The summary section should display the total cost, total retail cost, average cost and the average retail cost. Total cost :$XX.XX Total retail cost :$XX.XX Average cost :$XX.XX Average retail cost: $XX.XX Sample Output: 1: Produce report on console 2: Produce report to a file 3: Produce report on console and also to a file Please select one option from Menu (1,2 or 3):3 Instructions Goal: You have been asked to produce the report below. This report will tell the company how sales are going. Design a program reads "sodaSales.dat" file data and generates report on console/file/both. More Details: - You will read the file named sodasales.dat The values in the data file are in the following order: brand name, bottles sold, the cost per bottle, the retail price. Generate data in following format: Note: Profit Brand is not given. You need to calculate it. Profit Brand =( Bottles Sold )( Retail bottle Cost bottle ) - You will also produce a summary line at the end of the report. The summary section should display the total cost, total retail cost, average cost and the average retail cost. Total cost :$XX.XX Total retail cost :$XX.XX Average cost :$XX.XX Average retail cost: $XX.XX Sample Output: 1: Produce report on console 2: Produce report to a file 3: Produce report on console and also to a file Please select one option from Menu (1,2 or 3):3Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started