Question
Problem Statement A large apple juice carton can hold 3.35 liters of juice. Each morning, Dales Apple Orchard ships cartons of apple juice to a
Problem Statement A large apple juice carton can hold 3.35 liters of juice. Each morning, Dales Apple Orchard ships cartons of apple juice to a nearby Costco. The profit of producing one liter of apple juice is $0.37.
Write a program that:
Gets the total amount of apple juice Dales Apple Orchard produced on a given day (in liters) as input from the user.
Given the input, the program should then calculate:
The total number of cartons needed, and
The profit of producing the apple juice
Next, the program should print the following information on screen:
The number of cartons needed, and
The profit of producing the apple juice
Deliverables Using A Guide to Designing Computer Programs as a basis, show evidence of each step from Step 1 in Plan, plan, plan up to Step 4 in Test. In particular, you need to submit:
The sample equation worked out in Plan, plan, plan Step 1.
A sketch of the program running properly with a label on each line and the inputs and outputs clearly labeled (Plan, plan, plan Steps 2 and 3).
The completed IPO chart.
Create a word document called Lab5_lastname_firstname.cpp to save the screenshots mentioned below containing group member names, course ID and section, and date on the top of the page.
Type skeleton code with comments documenting the author, date, etc (Implement Step 2).
A screenshot of the source code after you have added comments based on your algorithm (the Process column of your IPO chart (Implement Step 3). Note, your algorithm and your comments should match verbatim! Add screenshot to the word document.
A screenshot of the finished source code once youve added the C++ that corresponds with each comment (Implement Step 4). Add screenshot to the word document.
A screenshot of the output (blackboard). Add screenshot to the word document.
Step 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