Question: Write and test a C++ program that promps the user to enter an initial velocity of a projectile launched vertically from the surface of the
Write and test a C++ program that promps the user to enter an initial velocity of a projectile launched vertically from the surface of the Earth, and calculates the maximum height reached (ignoring air resistance and the change in gravitational acceleration with altitude). Look up the equation, and the value of gravitational acceleration g at the surface of the Earth online. You can hard code g as a constant in your program. Tell the user in the prompt for input what units to use, and label the output with appropriate units. (You can pick the units).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
