代码片段
package one;
public class T_8 {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("周长 = "+ 2.0 * 5.5 * 3.14);
System.out.println("面积 = "+ 5.5 * 5.5 * 3.14);
}
}
代码片段
package one;
public class T_8 {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("周长 = "+ 2.0 * 5.5 * 3.14);
System.out.println("面积 = "+ 5.5 * 5.5 * 3.14);
}
}