Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In C: Write a program to compute the diameter in centimeters of a steel rod, an

ID: 3625964 • Letter: I

Question

In C:

Write a program to compute the diameter in centimeters of a steel rod, an aluminum rod, and a copper rod, which can withstand a particular compression load. The allowable compression stress of steel, aluminum, and copper is 25,000 lbs/m2, 15,000 lbs/ms, and 20,000 lbs/m2, respectively. area of rod = compression load/allowable compression stress and area = PIr2 where diameter d = 2r

Input the compression load. Print the tyoe of material, load, allowable stress, and diameter. Use formatted output with field width specifications that align the output.

Explanation / Answer

#include #include using namespace std; const double PI=3.14; void main() { double load,area,dia,radius,; //inputting load cout