Write a program to compute the diameter in centimeters of a steel rod, an aluminum rod, and a copper rode, which can withstand a particular compression load. The allowable compression stress of steel, aluminum, and copper is 25000 lbs/m2, 15000 lbs/m2, and 20000 lbs/m2, respectively.
Area of rod = compression load / allowable compression stress
Area = pi r2 where diameter d = 2r
Input the compression load. Print the type of material, load, allowable stress, and diameter. Use formatted output with field width specifications that align the output.
Excellent Solution
================
*Instant Download
Write a program to compute the diameter in centimeters of a steel rod, an aluminum rod, and a copper rod
- Technology: C-Programming
- Code: SHC_C_100014
-
$9.99
Tags: c, programming, diameter, steel rod, aluminum rod, copper rod, compression load, allowable stress