Implement logic in the doStep method so that the runner's speed is taken into consideration. The Runner class's getSpeed() method displays how many steps per second a runner takes. The runner needs to actually take a specified number of steps per second. If Usain takes 4 steps per second, then he will take 8 steps in 2 seconds. If Carl takes 2 steps per second, then he will take 4 steps in 2 seconds.

# Stopwatch

- 9
- Locked
- Exercise

Comments

- Popular
- New
- Old

You must be signed in to leave a comment

This page doesn't have any comments yet