Question: Write a C++ program that calculates price per pound/ounce. The output of the program must include, (1) Dollar and Cents per pound. (2) Dollar and

Write a C++ program that calculates price per pound/ounce. The output of the program must include, (1) Dollar and Cents per pound. (2) Dollar and Cents per ounce. Please upload: 1. A flowchart of your program with converting equations and hand-calculated expected results. (3 points total, 1 point for each mistake and/or omission.) 2. Printout of your C++ program with a heading comment, also appropriate spacing and indentation in the program body. Copy of TWO screenshots, the same input numbers as the example, and another with your information, after your program is executed. The result must show two digits below the decimal point. (7 points total, 2 points for each mistake and/or omission.) /* ELEN 1301 Name Student ID Your name. : Your student ID \#. Due date Specified on the blackboard. Purpose of the program : Calculate price per pound/ounce. Section 1 : Enter the input parameters. (The first 2 digits of your student ID as pounds, the third digit as ounce, and the last four digits as the price. For example, assume your student ID is L23456789, then enter 23 pound, 4 ounce, and $67.89. Section 2 : Calculate the results. Section 3 : Display the results on the screen. It must show two digits below the decimal point. */ \#include \#include using namespace std; int main() 1 // Write your own program. return 0 ; \} // main Output example
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
