Skip to content

Instantly share code, notes, and snippets.

@lb7n
Last active August 29, 2015 14:05
Show Gist options
  • Save lb7n/b957c1990700d52e22ee to your computer and use it in GitHub Desktop.
Save lb7n/b957c1990700d52e22ee to your computer and use it in GitHub Desktop.
package thisisatest;
public class Mainclass {
public static void main (String [] args)
{
int upperBound = 10000;
int lowerBound = 1;
boolean poop = false;
for(int i=0; i<upperBound; i++){
if( i % 2 == 0){
System.out.println("This number is even");}
else{
System.out.println("This number is odd");
}
if(poop){
System.out.println("True as poop can be");
}
else{
System.out.println("Fake poop");
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment