i'm needing some help with a C++ homework here's the question: The "Case Study" at the end of Chapter 3 (and at the end
Posted: Fri Jun 10, 2022 11:55 am
i'm needing some help with a C++ homework here's the
question:
The "Case Study" at the end of Chapter 3 (and at the end of the
Power Point slide set) pulls together everything we have learned so
far. Look at those instructions and add the following:
Make sure you use const to define
your constants.
You will provide two tables as output for this program.
The first table will echo length, width, and height, and will
also show the volume. The values are to have three digits after the
decimal, and be lined up by the decimal point in their table.
The second table will show the money - our cost, our selling
price, and our profit. These values are also aligned by the decimal
point, and will have two digits after the decimal point (as is
customary for currency).
Submit your source code and a screen shot in which you run your
program with the following input values:
length 3.5
width 5.1
height 6.25
question:
The "Case Study" at the end of Chapter 3 (and at the end of the
Power Point slide set) pulls together everything we have learned so
far. Look at those instructions and add the following:
Make sure you use const to define
your constants.
You will provide two tables as output for this program.
The first table will echo length, width, and height, and will
also show the volume. The values are to have three digits after the
decimal, and be lined up by the decimal point in their table.
The second table will show the money - our cost, our selling
price, and our profit. These values are also aligned by the decimal
point, and will have two digits after the decimal point (as is
customary for currency).
Submit your source code and a screen shot in which you run your
program with the following input values:
length 3.5
width 5.1
height 6.25