摘要: public class Work{ 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.o 阅读全文
posted @ 2017-09-25 13:58 mxl-1 阅读(78) 评论(0) 推荐(0) 编辑
摘要: public class Work{ public static void main(String[] args) { int a=35+100*60; //将跑步时间换算 double b=2.0*1.6; //将路程换算 System.out.println("这个人的平均速度为:"+(a/36 阅读全文
posted @ 2017-09-25 13:57 mxl-1 阅读(74) 评论(0) 推荐(0) 编辑
摘要: public class Work{ public static void main(String[] args) { double a,b,s; a=Math.PI; b=5.5; s=a*b*b; System.out.println("这个圆形的面积是:"+s); }} 阅读全文
posted @ 2017-09-25 13:57 mxl-1 阅读(59) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner; public class Num { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("请输入一 阅读全文
posted @ 2017-09-25 13:55 mxl-1 阅读(103) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner; public class Distance { public static void main(String[] args) { Scanner input=new Scanner(System.in); System.out.print("请输入 阅读全文
posted @ 2017-09-25 13:54 mxl-1 阅读(78) 评论(0) 推荐(0) 编辑