Before starting this assignment, make sure you understand what automobile tire sizes mean. For example, the tires on my car are specified as P225/60 R16. Research what these numbers mean regarding the number of revolutions per mile the tire will make in normal operation.
Write a program that will accept as input from the user a distance in miles, the tire size (you define how to enter this information), and the effective differential (transfer case) ratio and will calculate how many revolutions the engine will make as the car travels the specified distance. Design your program to work for an arbitrary number of data sets.
As a test case use the data for my car. I got 80,000 miles out of the first set of tires on my car and the transfer case ratio is approximately 2.84:1.
You may wish to extend this program by performing such calcuations as how many hours of driving at 70 mph would be required to reach the specified mileage.
Note that the information provided above assumes a constant effective differential ratio. For extra credit consideration, research what "effective" differential ratio should be used if the driving were done primarily in-town instead on on the highway. What other "interesting" calculations can you think of for this problem? For example, how would the numbers change if I switched to P225/65 R16 tires? What if I used non-standard rims that were 0.5 inches wider than standard?