A circular racetrack is composed of 4 portions: concrete, mud, sand and asphalt.
Kevin's car takes 30 seconds to cross the concrete, 55 seconds to cross the mud, 47 seconds to cross the sand and 38 seconds to cross the asphalt. Dear Ma'am or Sir, please help me to create a program that would input a positive time value (in seconds) and output where in the track Kevin's car is after that specified time.Assume that the race starts at the beginning of the concrete. Moreover, the car go around the track more that once.
Leave a comment