Skip to content

Instantly share code, notes, and snippets.

@heckenmann
Created February 24, 2015 18:26
Show Gist options
  • Save heckenmann/9439006ad91a064bac2d to your computer and use it in GitHub Desktop.
Save heckenmann/9439006ad91a064bac2d to your computer and use it in GitHub Desktop.
do-while-Schleife
public class DoWhile {
public static void main(String... args) {
int start = 0;
int ende = 15;
do {
System.out.println(start);
start++;
}
while(start <= ende);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment