摘要: package com.zuoye.test; import java.lang.reflect.Array; import java.util.Random; public class Choujiang { public static void main(String[] args) { int[] array=new int[8]; Ra... 阅读全文
posted @ 2016-09-14 08:36 丶疏影横斜 阅读(134) 评论(0) 推荐(0) 编辑
摘要: package 课上练习; import java.util.Arrays; public class Maopao { public static void main(String[] args) { int[] a={23,42,12,8,5,10}; System.out.println("原 阅读全文
posted @ 2016-09-13 18:05 丶疏影横斜 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-09-12 22:58 丶疏影横斜 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 一张纸的厚度大约是0.08mm,对折多少次之后能达到珠穆朗玛峰的高度(8848.13米)? package com.zuoye.test; public class Zhezhi { public static void main(String[] args) { int i=1; double h 阅读全文
posted @ 2016-09-12 22:32 丶疏影横斜 阅读(1522) 评论(1) 推荐(0) 编辑
摘要: package com.zuoye.test;//打印出所有的 "水仙花数 ",所谓 "水仙花数 "是指一个三位数,//其各位数字立方和等于该数本身。//例如:153是一个 "水仙花数 ",//因为153=1的三次方+5的三次方+3的三次方。public class Shuixian { publi 阅读全文
posted @ 2016-09-12 22:29 丶疏影横斜 阅读(1908) 评论(0) 推荐(0) 编辑
摘要: package com.zuoye.test;//控制台输出九九乘法表public class Jiujiu { public static void main(String[] args) { int i; int j; int sum; for(i=1;i<10;i++) { for(j=1;j 阅读全文
posted @ 2016-09-12 22:26 丶疏影横斜 阅读(880) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-09-12 22:24 丶疏影横斜 阅读(151) 评论(0) 推荐(0) 编辑
摘要: package com.zuoye.test;//百鸡百钱5文钱可以买一只公鸡,3文钱可以买一只母鸡,1文钱可以买3只雏鸡。public class Baiji { public static void main(String[] args) { int a; int b; int c; int s 阅读全文
posted @ 2016-09-12 22:22 丶疏影横斜 阅读(4207) 评论(2) 推荐(0) 编辑
摘要: package com.zuoye.test; import java.util.Scanner; public class Nianling { public static void main(String[] args) { Scanner sc=new Scanner(System.in); 阅读全文
posted @ 2016-09-12 22:16 丶疏影横斜 阅读(704) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-09-12 13:08 丶疏影横斜 阅读(116) 评论(0) 推荐(0) 编辑