Question: Purpose: Do some computations. Description: Create a C program that reads in three integer values representing the height, depth and width of a rectangular prism/box/cube.

Purpose: Do some computations. Description: Create a C program that reads in three integer values representing the height, depth and width of a rectangular prism/box/cube. Compute the following results using those three values: Areas: - Surface area of the top - Surface area of the front face - Surface area of an end - Surface area of the entire prism Perimeters: - of the bottom - of the front face - of an end Volume: - of the prism Diagonal: - diagonal distance across the prism. That is: the single line that crosses the prism from left-to-right, top-to-bottom, and front-to-back.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!