Skip to content

Instantly share code, notes, and snippets.

@applegateaustin
Created September 23, 2012 16:32
Show Gist options
  • Save applegateaustin/3772229 to your computer and use it in GitHub Desktop.
Save applegateaustin/3772229 to your computer and use it in GitHub Desktop.
questionB test 1 eecs 168
public class questionB
{
public static void main(String[] args)
{
int x = 3;
if (x < 0)
System.out.println(x);
x = x - 2;
if (x > 0)
System.out.println(x);
x = x + 6;
System.out.println(x);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment