Second equation of motion in C language

First, we'll take input the values of initial velocity, time and acceleration, and then store the inputs in the variables.
Then, we will apply a condition, because time can't be negative.
After that, we'll apply the formula to calculate distance.
Second equation of motion in the C language
Related :
Comments
Post a Comment