Advertisement
Guest User

Untitled

a guest
Oct 21st, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. public class Ex1 {
  2. public static void main(String[] args) {
  3. int a = 54;
  4. if (a % 2 == 0){
  5. System.out.println("even");}
  6. else {
  7. System.out.println("odd");
  8. }
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement