Countdown at the races

  • 18
1. Figure out what the program does. 2. Implement the run method so that each second the count is displayed, separated by spaces and starting from numSeconds down to 1, and then "Go!" (see the examples). 3. If the thread runs for 3.5 seconds or more, interrupt it using the interrupt method and wit
You can't complete this task, because you're not signed in.
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Liliane TopLevel 17 , Amsterdam
5 April, 12:23
Good advice. Do not look at the examples as given in the previous lesson. They will just confuse you. Find a source outside of CodeGym if you want to understand how this works as the information given in lesson 8 and 9 are not working. Try for yourself!
NikolaosLevel 19 , Vrontados
8 October 2019, 17:59
It takes me about 2 hours... -_-
Robin Singh ChauhanLevel 17 , Periyakulam
22 August 2019, 19:57
The only problem is i am able to display the exact output but not able to do it together this means at numSeconds=3; the output for numSeconds=3 is correct but wrong for numSeconds=4 and vice versa