摘要:
1 package FushiExam; 2 import java.util.*; 3 public class Text_5_1 { 4 5 public static void main(String[] args) { 6 /* 7 * 利用条件运算符完成此题:学习成绩>=90分的同学用A 阅读全文
posted @ 2020-03-06 19:45
Hey蜗牛
阅读(482)
评论(0)
推荐(0)
摘要:
1 package FushiExam; 2 import java.util.*; 3 public class Text4_1 { 4 5 public static void main(String[] args) { 6 /* 7 * 将一个正整数分解成 质因数。输入90,打印出:90=2* 阅读全文
posted @ 2020-03-06 19:43
Hey蜗牛
阅读(1176)
评论(0)
推荐(0)
摘要:
package FushiExam; public class Text_3 { public static void main(String[] args) { /* * 打印所有水仙花数 * 水仙花数是指:一个三位数的每一位的三次方之和等于这个数 */ for(int x=100;x<1000; 阅读全文
posted @ 2020-03-06 19:41
Hey蜗牛
阅读(779)
评论(0)
推荐(0)
摘要:
1 package FushiExam; 2 3 public class Text_2 { 4 5 public static void main(String[] args) { 6 /*= 7 * 判断101-200之间有多少个素数,并输出所有素数 8 */ 9 int begin=101; 阅读全文
posted @ 2020-03-06 19:40
Hey蜗牛
阅读(377)
评论(0)
推荐(0)
摘要:
1 package FushiExam; 2 import java.util.*; 3 public class Text_1 { 4 5 public static void main(String[] args) { 6 /* 7 * 有一对兔子,从出生后第3个月起,每个月都生一对兔子,小兔子 阅读全文
posted @ 2020-03-06 19:38
Hey蜗牛
阅读(912)
评论(0)
推荐(0)

浙公网安备 33010602011771号