Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/compression-load-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 (squared), 15,000 lbs/m2, and 20,000 lbs/m2, respectively. area of rod = compression / allowable compression stress area = pi * r2 (squared) where diameter d = 2r User should input the compression load. Print to console the type of material, load, allowable stress, and diameter. Use formatted output with field width specifications that align the output.
- Download: http://solutionzip.com/downloads/compression-load-c/
Add Comment
Please, Sign In to add comment