为什么我的会报错
public static void main(String[] args) {
// TODO Auto-generated method stub
int divider=10;
int result=100;
try{
while(divider>-1){
divider--;
result=result+100/divider;
}
return result;//报错!!!
}catch(Exception e){
System.out.println("循环跑出异常了!!!");
}
}