求大神告訴要怎么修改
public class HelloWorld{
public static void main(String[] args){
int num = 999;
for(int count=1;count<=9;count++){
? ? if (num%10!=0){
? ? ? ? num%=10;
? ? ? ? int i=count;
? ? }
? ? else{
? ? ? ? break;
? ? }
System.out.println("它是個(gè)"+i+"位的數(shù)!");
}
}
}
2016-06-16