摘要: <!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title></title> <script src="jquery-1.8.3.js" type="text/javascript"></script> <script ty 阅读全文
posted @ 2017-09-06 21:11 IT-Goofy 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 正三角 import java.util.Scanner; public class Test { public static void main(String[] args) { Scanner input=new Scanner(System.in); System.out.print("请输入 阅读全文
posted @ 2017-07-21 18:38 IT-Goofy 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 方法一: import java.util.Scanner; public class Rabbit { public static void main(String[] args) { int a; //鸡和兔子的头数 int b; //鸡和兔子的脚数 int y; //兔子的数量 Scanner 阅读全文
posted @ 2017-07-21 16:34 IT-Goofy 阅读(483) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner; public class ContinueDemo { public static void main(String[] args) { int score;//分数 int total;//总人数 int num=0;//成绩大于80分的人数 S 阅读全文
posted @ 2017-07-20 23:27 IT-Goofy 阅读(2152) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner; public class Pay { public static void main(String[] args) { System.out.println("*************************"); System.out.prin 阅读全文
posted @ 2017-07-20 18:42 IT-Goofy 阅读(227) 评论(0) 推荐(0) 编辑
摘要: mport java.util.Scanner; public class DoWhile2 {public static void main(String[] args) { int min=0;//最小值 int max=0;//最大值 int num=0; Scanner input=new 阅读全文
posted @ 2017-07-20 18:29 IT-Goofy 阅读(469) 评论(0) 推荐(0) 编辑