2017年9月17日

计算平均速度

摘要: public class MilesDemo{ public static void main(String[] args) { System.out.println("平均速度为:"+24*1.6/(1+40.0/60+35.0/3600)); }} 阅读全文

posted @ 2017-09-17 20:52 哈尼鹿 阅读(236) 评论(1) 推荐(0)

显示图案

摘要: public class Figure{ 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.print 阅读全文

posted @ 2017-09-17 20:39 哈尼鹿 阅读(114) 评论(0) 推荐(0)

圆的面积和周长

摘要: public class Area { public static void main(String[] args) { double r=5.5,c,s; s=Math.PI*r*r; c=2*Math.PI*r; System.out.println("圆的周长为:"+c+"\n"+"面积为:" 阅读全文

posted @ 2017-09-17 20:30 哈尼鹿 阅读(118) 评论(0) 推荐(0)

导航