(Practice) Modify Program to use the named constant GRAV in place of the value 32.2 used in the program. Compile and run your program to verify that it produces the same result shown in the text.
Program:
#include// this line can be placed second instead of first#include // this line can be placed first instead of secondusing namespace std;int main(){int height;double time;height = 800;time = sqrt(2 * height / 32.2);cout << "It will take " << time << " seconds to fall "<< height << " feet.\n";return 0;}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.