public static void main(String[] args ){ int a=20 if(不知道怎么表示偶数){System.out.println(”是偶数”)}}
a%2==0
意思是除以2余数为0
偶数就是能被2整除 没有余数 所以可以用%来取余 a%2==0 就是偶数