如何計算100以內的所有素數?

如何計算100以內的所有素數?

public class SuShuo
{static int k;
public static void main(String[] args){
int i,j;
for(i=1;i