Question: You will write new code to account for acceleration using the formula , where d=v0t+(1/2)a(t^2), where d is distance, a is acceleration, and t is
You will write new code to account for acceleration using the formula , where d=v0t+(1/2)a(t^2), where d is distance, a is acceleration, and t is time. Now, you will ask for two inputs from the user, the first being time and the second being acceleration. Acceleration can be positive, negative, or zero, and it is a real (floating point or c type float) number, i.e. it can be fractional, e.g. 1.21. (40 points). You may use a while, dowhile, for loop or anything else in 2).
PS: I need it as a C program. NOT JAVA OR C++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
