摘要: package a; import java.util.*; public class Yueshubeishu { public static void main(String[] args) { System.out.println("输入两个正整数:"); Scanner a=new Scan 阅读全文
posted @ 2016-06-11 21:30 凌零聆 阅读(1366) 评论(0) 推荐(0) 编辑
摘要: package a; public class Wanshu { public static void main(String[] args) { for (int i = 1; i <= 1000; i++) { int sum=0; for (int j = 1; j < i; j++) { i 阅读全文
posted @ 2016-06-11 21:06 凌零聆 阅读(20019) 评论(2) 推荐(0) 编辑
摘要: package a; public class Tuzi { public static void main(String[] args) { int a=1,b=0,c=0,sum = 0;//a 幼兔对数,b 小兔对数,c 成兔对数,sum 总对数 for (int i = 1; i <=24; 阅读全文
posted @ 2016-06-11 20:52 凌零聆 阅读(1127) 评论(0) 推荐(0) 编辑
摘要: package a; import java.util.*; public class Fenjiezhiyinshu { public static void main(String[] args) { System.out.println("输入一个正整数:"); Scanner a=new Scanner(System.in); ... 阅读全文
posted @ 2016-06-11 20:39 凌零聆 阅读(382) 评论(0) 推荐(0) 编辑