Lap Timer
Objective:
Objective:
Measure the train's lap time on the circle track. Compare at least 6 lap times.
Sample Solution:
Sample Solution:
This program calculates the length of the circle track using the π*diameter formula. It stores the measured lap times in a list called lap times and stops running after the train completes 6 laps.