public class 1.3{ 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.println("J J AAAAA V V AAAAA"); System.out.println(" J J A A V A A"); }} public class 1.8{ public static void main(String[] args) { double c=2 * 5.5 * Math.PI; double s=5.5 * 5.5 * Math.PI; System.out.println("圆的周长是"+c); System.out.println("圆的面积是"+s); }} public class 1.12{ public static void main(String[] args) { double a=(1*60*60+40*60+35)/(60*60); double b=24*1.6; double c=b/a; System.out.println("他的平均速度值是"+c+"km/h"); }}
时间: 2024-10-06 00:12:21