1pa3

BACKGROUND / MOTIVATION : ==>

Text

Visual

Audio

 

GEAR RATIO

The ratio between successive speeds of a six-speed gearbox is , where M is the maximum speed and m is the minimum speed.

Write a C++ program which

  1. Prompts for and reads the maximum speed in rpm ( revolutions per minute).
  2. Prompts for and reads the minimum speed in rpm.
  3. Calculates and outputs the ratio between successive speeds.
  4. Calculates and outputs the second lower speed in rpm

You must prepare a file with the name xxxxpa1.cpp