阅读背景:

for循环中检测到无法访问的代码

来源:互联网 

I'm trying to find out if a number is prime or not. But I've got an error of "unreachable code detected", which I think is effecting the error of "not all code paths return a value". The error seems to occur in the for loop at i++. Can anyone help me please?I'm trying to find out if a number is prime or




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: