public static void printCircleCircumference(int radius) {
double pi = 3.14;
double C = 2 * pi * radius;
System.out.print(C); //result=31.400000000000002
}
RobortYabu
第 4 级
The system indicates that this task is completed, but an error occurred during the verification process. how do I change it?
正在讨论
评论 (2)
- 受欢迎
- 新
- 旧
你必须先登录才能发表评论
furius72
27 九月 2022, 13:03
i had the same result, bat the task it works corretly
0
sky
12 八月 2022, 00:04
应该不会有错的,可以使用ideal试试看
0