Question: C++ *Please do not handwrite* Write a program that will calculate the safe load on a load bearing column given the slimness ratio.The slimness ratio
C++ *Please do not handwrite*
Write a program that will calculate the safe load on a load bearing column given the slimness ratio.The slimness ratio will be input by the user from the keyboard and the program should output the calculated safeload.The safe load is calculated as follows:
S=17,000 - .485R2 for R<120
Or
S= 18,000/( 1 +(R2/18,000)) for R 120
Where S=safe load (pounds per square inch)
R=slimness ratio(dimensionless it is a ratio of the columns length to its width). Note that this value can NOT be negative. Your program must account for this.
Execute this program twice using values of R = 20, and R = 100.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
