java中求0~100的質數

package Day04;web public class Demo01Ffor { //求0到100以內的質數 public static void main(String[] args) { //定義一個標誌 boolean f; //進入循環 int i=0; int sum = 0; for( int x=2;x<=100;x++){ //定義標誌 f = true; //進入內循環 f
相關文章
相關標籤/搜索