题解 1173: 计算球体积

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

计算球体积

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define PI 3.1415#include<math.h>int main(){    double r,v;    while……

1173: 计算球体积

摘要:解题思路:注意事项:参考代码:import mathwhile True:    try:            r = float(input())        pi = math.pi     ……

1173一行解(Python)

摘要:解题思路:注意事项:参考代码:import mathimport sysfor line in sys.stdin:print(&#39;{:.2f}&#39;.format((4/3)*math.p……

编写题解 1173: 计算球体积

摘要:解题思路:注意事项:参考代码:while True:     try:         r=float(input())         print(&#39;%.3f&#39;%((4/3)*……

1173: 计算球体积

摘要:解题思路:先进行一个宏定义,然后,再在一个while(scanf("%f",&a)!=EOF)中进行多组输入,最后,在while循环中输出。注意事项:参考代码:#include<stdio.h>#de……

题解 1173: 计算球体积

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){  double x,V;  while(~scanf("%lf",&x))   ……