Created
September 23, 2012 16:32
-
-
Save applegateaustin/3772229 to your computer and use it in GitHub Desktop.
questionB test 1 eecs 168
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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