package test; public class test { public static void main(String[] args) { // TODO Auto-generated method stub int a =101; if (a / 2 == 0) { System.out.println("a是奇数"); } else { System.out.println("a是偶数"); } } }