Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+17 votes

in dragon... project. is there a way to slow down a for loop only inside while loop without affecting other codes in that exact while loop.

asked in CSC211_Winter2018 by (1 point)

1 Answer

+13 votes

Well you need a variable to set the time into milliseconds. Then you would need a System.out.print to actually set the timer. You also want to make the time go down.

answered by (1 point)