📄 round.java
字号:
import java.util.Scanner;
public class round extends graph {
round() {
System.out.println("Please input offset about x & y & r");
Scanner in1 = new Scanner(System.in);
Scanner in2 = new Scanner(System.in);
Scanner in3 = new Scanner(System.in);
double x, y, r;
x = in1.nextDouble();
y = in1.nextDouble();
r = in1.nextDouble();
System.out.println("construct completed");
System.out.println("This round info is:");
System.out.print("Area is: ");
mularea s2 = new mularea();
System.out.println(s2.area(r));
System.out.print("Girth is: ");
mulgirth c2 = new mulgirth();
System.out.println(c2.girth(r));
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -