已采纳回答 / 慕用3483772
int one = 20 ; if(one%2==0){System.out.println("one是偶数"); }else {System.out.println("one是奇数"); }
2018-10-21