Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. class Ex1 {
  2.  
  3. public static void main(String args[]) {
  4. int a = 4;
  5. if((a % 2) == 0)
  6. System.out.println(" is Even number" + a);
  7.  
  8. else
  9. System.out.println(" is Odd number" + a );
  10. }
  11. }
  12. // по идее должно получится, но авыдаёт ошибку, хотелось бы услышать в чём она
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement