摘要: import java.util.Scanner; //表示输入 public class Operation { public static void main(String[] args) //有的直接在打印处提示的 就不做注释了 { long l=123456789012345l; Syste 阅读全文
posted @ 2017-09-25 12:03 华山论 阅读(142) 评论(0) 推荐(0) 编辑
摘要: public class Demo_1 { public static void main(String[] args) { double radius,C; double area; radius=5.5; area=radius*radius*Math.PI; C=radius*2*3.1415 阅读全文
posted @ 2017-09-25 08:35 华山论 阅读(1699) 评论(0) 推荐(0) 编辑
摘要: public class Demo_1 { public static void main(String[] args) { double V; V=(1.6*24)/(1+40/60+35/3600); System.out.println("The runner speed is" + V + 阅读全文
posted @ 2017-09-25 08:30 华山论 阅读(1099) 评论(0) 推荐(0) 编辑
摘要: public class Demo_1{ public static void main(String[] args) { System.out.println(" J A V V A "); System.out.println(" J A A V V A A "); System.out.pri 阅读全文
posted @ 2017-09-25 08:23 华山论 阅读(610) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner; public class Demo_1{ public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.print("输入 x 阅读全文
posted @ 2017-09-18 12:30 华山论 阅读(123) 评论(0) 推荐(0) 编辑
摘要: java.util.Scanner;public class Demo_1{ public static void main(String[] agrs) { Scanner input = new Scanner(System.in); System.out.print("Enter a numb 阅读全文
posted @ 2017-09-18 12:23 华山论 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 1.3 (显示图案)编写一个程序,显示下面的图案: J A V V A J A A V V A A J J AAAAA V V AAAAA J J A A V A A 答:代码如下: public class Exercise03 { public static void main(String[] 阅读全文
posted @ 2017-09-18 12:08 华山论 阅读(256) 评论(0) 推荐(0) 编辑