package scend;
public class Gotowhile {
public static void main(String[] args)
{
outer:for (int o=1;o<100;o++)
{
for(int m=0;m<o;m++)
{
if((o%m)==0)
{
continue outer;
}
}
System.out.println(o);
}
}
}
错误是:Exception in thread "main" java.lang.ArithmeticException: / by zero
at scend.Gotowhile.main(Gotowhile.java:10)
怎么回事啊求答案