1. Engineering
  2. Computer Science
  3. write and test a c program that promps the user...

Question: write and test a c program that promps the user...

Question details

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).

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution