摘要: import java.io.IOException;import java.util.Scanner;public class Sum { public static void main(String[] args) throws IOException { try { ... 阅读全文
posted @ 2014-08-14 17:34 Amoxicil 阅读(322) 评论(0) 推荐(0) 编辑
摘要: import java.io.IOException;import java.util.Scanner;public class CommonDivisor { public static void main(String[] args)throws IOException{ t... 阅读全文
posted @ 2014-08-14 17:04 Amoxicil 阅读(383) 评论(0) 推荐(0) 编辑
摘要: import java.io.File;import java.io.FileOutputStream;public class Creat { public static void main(String[] args){ try { File f = n... 阅读全文
posted @ 2014-08-14 13:29 Amoxicil 阅读(205) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner;public class Sum { public static void main(String[] args){ Scanner input = new Scanner(System.in); System.ou... 阅读全文
posted @ 2014-08-11 15:50 Amoxicil 阅读(156) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner;public class Regulartriangle { public static void main(String[] args){ Scanner input = new Scanner(System.in); ... 阅读全文
posted @ 2014-08-11 14:37 Amoxicil 阅读(139) 评论(0) 推荐(0) 编辑
摘要: public class Division { public static void main(String[] args){ int count = 1; for(int number = 100;number <= 1000;number++){ ... 阅读全文
posted @ 2014-08-08 16:02 Amoxicil 阅读(161) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner;public class Triangle { public static void main(String[] args){ double d; System.out.println("请输入三角形的三条边的长度!... 阅读全文
posted @ 2014-08-07 18:10 Amoxicil 阅读(145) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner;public class Lottery { public static void main(String[] args){ int lottery1,lottery2,guess1,guess2; int lott... 阅读全文
posted @ 2014-08-07 17:43 Amoxicil 阅读(296) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner;public class Game { public static void main(String[] args){ int r; r = (int) (Math.random()*2 + 1); S... 阅读全文
posted @ 2014-08-07 16:39 Amoxicil 阅读(174) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner;public class Days { public static void main(String[] args){ Scanner input = new Scanner(System.in); int day ... 阅读全文
posted @ 2014-08-07 15:48 Amoxicil 阅读(147) 评论(0) 推荐(0) 编辑