A program to compute the diameter in centimeters of steel rod, and 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/m², 15,000 lbs/m², and 20,000 lbs/m², respectively.
Area of rod = compression load
________________________
Allowable compression stress
Area = π r^2 where diameter d= 2r
Input the compression load. Print the type of material, load, allowable stress, and diameter. Used formatted output with field with specifications that align output.