Created
June 20, 2020 18:59
-
-
Save LaurentiuGabriel/ca577fe2da8dc4a103746b1f8e799a9c to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Application { | |
| public static void main(String[] args) { | |
| int variable = 3; | |
| if ((variable != 5) && (variable == 0)){ | |
| System.out.println("Variable is greater than five."); | |
| } | |
| else if (variable == 5){ | |
| System.out.println("Else if here."); | |
| } | |
| else { | |
| System.out.println("Variable is less than five."); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment