摘要: 1.编写程序, 输 package aa; import java.util.Scanner; public class text { public static void main(String[] args) { System.out.println("请输入x的值:"); Scanner in 阅读全文
posted @ 2020-03-26 11:38 afther 阅读(166) 评论(0) 推荐(0) 编辑
摘要: package aa; import java.util.Scanner; public class text { public static void main(String[] args) { System.out.println("请输入年份:"); Scanner input=new Sca 阅读全文
posted @ 2020-03-22 13:38 afther 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 1.两数互换 package aa; public class text { public static void main(String[] args) { int a=1,b=2,c; c=a; a=b; b=c; System.out.println("交换后的a:"+a+",b:"+b); 阅读全文
posted @ 2020-03-19 14:34 afther 阅读(74) 评论(0) 推荐(0) 编辑
摘要: package aa; public class text { public static void main(String[] args) { System.out.println("hello"); } } 阅读全文
posted @ 2020-03-07 13:04 afther 阅读(97) 评论(0) 推荐(0) 编辑