Implement a program to find the position of a cannonball
Program: Write a C++ program that calculates the position of a cannonball that is fired straight up in the air.
Use short time intervals (.01 seconds) and display the position and velocity every second. Use the equation s(t)= -(1/2)gt^2+v_0t where g= 9.81m/s^2.
Illustrate these values every second until the cannonball returns to earth.