Hello again,
I am having trouble doing a simple exercise changing a for loop to a while statement, it works fine in the for loop but in the while statement it just prints out 10(it is supposed to count to 0 and print liftoff). Any suggestions would be appreciated. thanks
public void run() { int i = 10; while (i>=1) { println(+i+"..."); i--; } println("liftoff..."); }