This is what the exercise says: Write a program to help the user understand the
ID: 3618063 • Letter: T
Question
This is what the exercise says:Write a program to help the user understand the force lb.needed to push a 1200 lb. table, on wheels, up a 21 inch high rampthat is 6 ft long. There should be a looping program thatasks the user if he/she would like to try again withdifference. This should be a program that asks the user toinput the variables: weight of table, height of the raise, lengthof the ramp. The beginning statement of 1200 lb. table, 21 inchraise, and 6 ft ramp is just an example; these dimensions should bevarying. The answer will be in force lb., and you will need to usea math equation to calculate what it will take to move thisreal-life table. This is what the exercise says:
Write a program to help the user understand the force lb.needed to push a 1200 lb. table, on wheels, up a 21 inch high rampthat is 6 ft long. There should be a looping program thatasks the user if he/she would like to try again withdifference. This should be a program that asks the user toinput the variables: weight of table, height of the raise, lengthof the ramp. The beginning statement of 1200 lb. table, 21 inchraise, and 6 ft ramp is just an example; these dimensions should bevarying. The answer will be in force lb., and you will need to usea math equation to calculate what it will take to move thisreal-life table.
Explanation / Answer
please rate - thanks I think the sample formula you sent me was wrong 6 ft / 300 ft lb =50 lb of force to move the object up the ramp. the ft cancel eachother out. this is .02. I used 300/6 which is 50 #include using namespace std; int main() {int weight,height,length; double force; char yesno='Y'; while(toupper(yesno)=='Y') {coutweight; coutheight; coutlength; force=((double)weight*height)/length; coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.