这个哪里出现了问题
public class HelloWorld {
public static void main(String[] args) {
int one = 20 ;
if(one%2=0){
System.out.println("one是偶数");
}
else{
System.out.println("one是奇数");
}
}
}
public class HelloWorld {
public static void main(String[] args) {
int one = 20 ;
if(one%2=0){
System.out.println("one是偶数");
}
else{
System.out.println("one是奇数");
}
}
}
2021-05-18
举报