The ratio between successive speeds of a six-speed gearbox (assuming that the gears are evenly spaced to allow for whole teeth) is
![]()
where M is the maximum speed in revolutions per minute and m is the minimum speed. Write a function speedsRatio that calculates this ratio for any maximum and minimum speeds. Write a main function that prompts for maximum and minimum speeds (rpm), calls speedsRatio to calculate the ratio, and displays the results.
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.