Do while snippet is wrong. In line 2 should be a "do" instead of a "while". Also the condition in last line, "(1 < 100)" makes an infinite loop, it seems it should be "i" instead of "1".
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Do while snippet is wrong. In line 2 should be a "do" instead of a "while". Also the condition in last line, "(1 < 100)" makes an infinite loop, it seems it should be "i" instead of "1".