Skip to content

Instantly share code, notes, and snippets.

@jstitch
Created July 24, 2014 04:24
Show Gist options
  • Save jstitch/f46c54a016b97a34c314 to your computer and use it in GitHub Desktop.
Save jstitch/f46c54a016b97a34c314 to your computer and use it in GitHub Desktop.
public class BreakContinue {
public static void main(String [] args) {
Integer cuenta = 100;
System.out.println("Imprimiendo numeros pares");
for (Integer i=0; i<cuenta; i++) {
if (i % 2 != 0) {
continue;
}
System.out.println(i.toString());
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment