Press space. Enter a number. (multiple of 60 is nice, but it will round to a multiple of 60) Hit enter. Thanks to @HypotheticalMath for the original problem/question
I made this in response to a problem my friend gave me: Two cars are in a race. Car A travels at 60 mph, stopping every hour for an hour. Car B travels at 30 mph, stopping every 2 hours for an hour. Who will win the race? Being 8:00 in the morning and in a car, I decided to make a program that does the math for me after school. (I actually solved it during school, but decided to make a program to check my work anyway.) The conclusion is that if we factor in the stops, Car A travels at an average of 30 mph, and Car B travels at an average of 20 mph.