9.4作業
9月4日java
1.3
public class Test{
public static void main(String[] args){
System.out.println(" ]");
System.out.println(" ]");
System.out.println("] ]");
System.out.println(" ]]");
}
}
public class Test{
public static void main(String[] args){
System.out
System.out.println(" A A");
System.out.println(" AAAAA");
System.out.println("A A");
}
}
public class Test{
public static void main(String[] args){
System.out.println("V V");
System.out.println(" V V");
System.out.println(" V V");
System.out.println(" V");
}
}
1.8
public class Test{
public static void main(String[] args){
final double PI = 3.14;
double radius = 5.5;
System.out.println(2 * radius * PI);
System.out.println(PI * radius * radius);
}
}
1.12
public class Test{
public static void main(String[] args){
double S = 24 * 1.6;
double T = (1 * 60 + 40) * 60 + 35;
double speed = S / T;
System.out.println(speed);
}
}
9.4作業