0_0_39820796_31783\Main.java:4: 错误: 需要class, interface或enum
public static void main(String[] args) {
^
0_0_39820796_31783\Main.java:6: 错误: 需要class, interface或enum
while (scanner.hasNext()) {
^
0_0_39820796_31783\Main.java:9: 错误: 需要class, interface或enum
double b = Math.pow(a,3);
^
0_0_39820796_31783\Main.java:10: 错误: 需要class, interface或enum
double c = (4.0 / 3.0) * Math.PI * b;
^
0_0_39820796_31783\Main.java:11: 错误: 需要class, interface或enum
System.out.printf("%.3f" , c);
^
0_0_39820796_31783\Main.java:14: 错误: 需要class, interface或enum
}
^
6 个错误
|