Question: write a c program Write a program that prompts the user for the length, width and height of a solid steel rectangular bar (in metres).

write a c program write a c program Write a program that prompts the user for

Write a program that prompts the user for the length, width and height of a solid steel rectangular bar (in metres). The program must then compute the mass of the bar in kilograms assuming that the density of the steel is 7850kg per cubic metre. Your program must accept only integer inputs, and must print the result with no decimal places. Recall that: mass = density volume

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!