Write a program that allows the user to enter a time in seconds and then outputs how
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a program that allows the user to enter a time in seconds and then outputs how far an object would drop if it is in freefall for that length of time Assume that the object starts at rest, there is no friction or resistance from air and there is a constant acceleration of 32 feet per second squared due to gravity. Use the equation acceleration (time) 2 distance Note that the used to indicate exponentiation is not an actual operator in C++ I just used it here in English to desribe what you are doing. You should use 2 loops in your program. The outer loop will be used to control whether or not the computation is run addtional times, to allow multiple inputs to be given. Data checking The inner loop will be used to verify the data is valid for the computation to take place Assume a time of 0 or a positive time will be acceptable. Any negative time should generate a warning to the user that the time is not valid, and no computation for that inappropriate value should take place. We will discuss data checking in class, and you can also consult the web page I have that addresses this See http://web.mst.edu/-davem/CSc74/programs/dowhile.ba sics. fs2007 When your program asks for input, for values to use 10
Posted Date: