1. 程式人生 > >林楓,更新

林楓,更新

5.5 aaaaa str sta math clas stat oid static

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");
}
}

林楓,更新