package chapter2;

public class Example08 {
    public static void main(String[] args) {
        int num = 20;

        if (num % 2 == 0) {
            System.out.println("num是一个偶数");
        } else {
            System.out.println("num是一个奇数");
        }
    }
}
