public class num
public static void main(String[] args) {
int sl=
for(int i=
{
boolean b=true;
for (int j =
if(i%j==
b=false;
}
if (b) {
sl++;
System
}
}
}
}
From:http://tw.wingwit.com/Article/program/sjjg/201405/30735.html
public class num
public static void main(String[] args) {
int sl=
for(int i=
{
boolean b=true;
for (int j =
if(i%j==
b=false;
}
if (b) {
sl++;
System
}
}
}
}