• 9
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.
You can't complete this task, because you're not signed in.
  • Popular
  • New
  • Old
You must be signed in to leave a comment
This page doesn't have any comments yet