-
-
Save FreeFly19/acf3274f93f07e7a2225ef58407205ee to your computer and use it in GitHub Desktop.
Home work #2 Иван Смаглюк
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
class Ex1 { | |
public static void main(String args[]) { | |
int a = 4; | |
System.out.print(a); | |
if (a % 2 == 0) { | |
System.out.println(" is Even number"); | |
} else { | |
System.out.println(" is Odd number"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment