Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class Main {
- public static void main(String[] args) {
- int num;
- Scanner in = new Scanner(System.in);
- num = in.nextInt();
- boolean a = num % 2 == 0 | num % 3 == 0;
- System.out.println(a);
- }
- }
Add Comment
Please, Sign In to add comment