3 Answers
New AnswerAs you haven't used brackets .... In case of java, c it will be an infinite loop as i will not be incremented. A suggestion: while asking question specify the language you are using.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message