Skip to content

Instantly share code, notes, and snippets.

@maxkoretskyi
Created September 27, 2016 06:58
Show Gist options
  • Save maxkoretskyi/3e8c5d2cccdccdf8fcead0a3dec12822 to your computer and use it in GitHub Desktop.
Save maxkoretskyi/3e8c5d2cccdccdf8fcead0a3dec12822 to your computer and use it in GitHub Desktop.
loop ending on 2nd iteration
for (int i=1; 1/i > 0; i++) {
System.out.println("Count is: " + i);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment