不知道为什么错
public class HelloWorld{
public static void main(String[] args){
doubt num = 999;
int count = 0;
for(count<= 10; count++;){
if((num%10 ^ count)<1){
break;
}
}
System.out.println("它是个"+count+"位的数!");
}
}
public class HelloWorld{
public static void main(String[] args){
doubt num = 999;
int count = 0;
for(count<= 10; count++;){
if((num%10 ^ count)<1){
break;
}
}
System.out.println("它是个"+count+"位的数!");
}
}
2020-10-21
举报