原创 JAVA 輸出從1到100以內的質數,每5個一行。

public class test01 { //輸出從1到100之間所有的質數 public static void main(String[] args) { int n = 1;//聲明變量n,判斷是否換行 // 質數