Last active
October 24, 2016 14:50
-
-
Save greensma/789d53a60f737bb377f60100063edeb5 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; | |
if((a % 2) == 0) | |
System.out.println(" is Even number" + a); | |
else | |
System.out.println(" is Odd number" + a ); | |
} | |
} | |
// по идее должно получится, но авыдаёт ошибку, хотелось бы услышать в чём она |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment