Question: Hi Please do the coding for me . This C++ and I am using visual studio . Be simple with the code . Please show
Hop To It Background The distance a frog can hop is determined by how high they jump. The lower the angle, the further the jump. The formula for the kinetic energy of a bouncing thing (balls, frogs, kangaroos) is' ml:-my where m is mass, g is the gravitational constant (9.8 meters/ second), and v is the initial velocity. We can rearrange this formula to determine the velocity in meters per second. Your job is to create a program that estimates the speeds of frogs given this formula. Inputs: Ask the user to input to enter Whether or not they are working in inches or centimeters. The hop height. (Either in inches or centimeters based on question 1.) Edit the length to be sure it is greater than 0. A question to allow the user to keep running the program until they are ready to quit. - - - Logic Create a function that returns the speed (in meters per second) of a frog as a double given the hop height. (Use a constant for the gravitational constant. (9.8 m/sec?)) Create a function that converts from feet to meters and use it if they enter their data in feet. di re to
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
