C++ program Vs Coding please!! General Crates, Inc. builds custom-designed wooden crates. With materials and labor, it costs GCI $0.23 per cubic foot to build a crate. In turn, they charge their customers $0.50 per cubic foot for the crate. You have been asked to write a program that calculates the volume (in cubic feet), cost, customer price, and profit of any crate GCI builds. Once calculated, display the volume, cost, customer price, and profit to the user. 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
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
C++ program Vs Coding please!!
General Crates, Inc. builds custom-designed wooden crates. With materials and labor, it costs GCI $0.23 per cubic foot to build a crate. In turn, they charge their customers $0.50 per cubic foot for the crate. You have been asked to write a program that calculates the volume (in cubic feet), cost, customer price, and profit of any crate GCI builds. Once calculated, display the volume, cost, customer price, and profit to the user.
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
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images