nslnse
2015-09-06 23:30
public class HelloWorld{
public static void main(String[] args){
int num = 999;
int count = 0;
for(; count<=10;count++)
{
for(int i= 0;i<=Math.pow(10,(count+1));i++)
{
if((num-i)>=0)
{
continue;
}
else{
break;
}
}
break;
}
System.out.println("它是个"+count+"位的数!");
}
提示是:error: reached end of file while parsing
}
^
1 error
最后缺了}。括号是成对出现滴~~
Java入门第一季(IDEA工具)
1168180 学习 · 18754 问题
相似问题