1.3
public class Lf{
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");
}
}
1.8
public class Test{
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);
}
}
1.12
public class St{
public static void main(String[] args){
double t=((40*60+35)/(60*60))+1;
double s=24*1.6;
double v=s/t;
System.out.println("平均速度为"+v+"km/h");
}
}