摘要: //实现如图的购物清单 阅读全文
posted @ 2017-07-18 16:26 斯丢皮德曼 阅读(231) 评论(0) 推荐(0) 编辑
摘要: package ch06; import java.util.Scanner; /** * Created by liwenj on 2017/7/18. */ public class test11 { public static void main(String[] args) { int[] a = {1, 2, 3, 4, 5, 6, 7}; ... 阅读全文
posted @ 2017-07-18 15:51 斯丢皮德曼 阅读(237) 评论(0) 推荐(0) 编辑
摘要: package ch06; import java.util.Scanner; /** * Created by liwenj on 2017/7/18. */ public class test8 { public static void main(String[] args) { String pass; String name; ... 阅读全文
posted @ 2017-07-18 11:43 斯丢皮德曼 阅读(297) 评论(0) 推荐(0) 编辑
摘要: package ch06; /** * Created by liwenj on 2017/7/18. */ public class test6 { public static void main(String[] args) { int total = 0; int i = 0; for (; i 20) { ... 阅读全文
posted @ 2017-07-18 11:02 斯丢皮德曼 阅读(323) 评论(0) 推荐(0) 编辑
摘要: package ch06; import java.math.BigDecimal; import java.util.Scanner; /** * Created by liwenj on 2017/7/18. */ public class test5 { //除法 public static double div(double v1, double v2, int... 阅读全文
posted @ 2017-07-18 11:01 斯丢皮德曼 阅读(229) 评论(0) 推荐(0) 编辑