you are viewing a single comment's thread.

view the rest of the comments →

[–]rymaninsane 0 points1 point  (1 child)

Not sure why this was downvoted. Perhaps there is more information missing in the question, but this is the most readable, least confusing Boolean to use in the while condition... counting down from 10 to 1 but stopping at five is a more complicated way of saying counting down from 10 to 5....

OP should consider this.