摘要:
public class 学习1{ public static void main(String[] args){ } public static void zuiXiaoZhiShu(int n){ /*设置一个变量为n*/ while (true){ /*死循环*/ n++; boolean c 阅读全文
posted @ 2020-09-15 22:21
'
阅读(222)
评论(0)
推荐(0)
摘要:
public class 学习1{ public static void main(String[] args){ boolean b = zhiShu(16); System.out.println( b ? "是质数":"不是质数"); } public static boolean zhiSh 阅读全文
posted @ 2020-09-15 21:21
'
阅读(327)
评论(0)
推荐(0)

浙公网安备 33010602011771号