Examine the given information and answer questions thatfollow.
The coefficient of restitution of a ball, a number between 0 and1, specifies how much energy is conserved when the ball hits arigid surface. A coefficient of 0.9, for instance, means a bouncingball will rise to 90% of its previous height after each bounce. Thecoefficient of restitution of a tennis ball, basketball, super balland softball are 0.7, 0.75, 0.9, and 0.3 respectively. These valuesare stored in the array, coefOfRestitution.
double coefOfRestitution[4] = {0.7, 0.75, 0.09, 0.3};
The requirements are to input the type of ball and an initialheight, and report how many times a ball
PayPal Gateway not configured
PayPal Gateway not configured