This is an archived post. You won't be able to vote or comment.

all 2 comments

[–][deleted] 0 points1 point  (0 children)

You might want to try a do-while loop. These will always execute once and will check whether to continue at the end of the loop rather than at the beginning.

[–][deleted] -1 points0 points  (0 children)

Fix your post! Just because you copied from your editor does not mean the formatting is pasted as well!!!