解题思路:
注意事项:
参考代码:
#include <stdio.h>
#include <iostream>
#include <iomanip>
#include <math.h>
using namespace std;
int main(){
double r;
double tiji;
cin>>r;
tiji=(4.0)/3*pow(r,3)*3.1415926;
cout<<fixed<<setprecision(5)<<tiji;
return 0;
}
0.0分
0 人评分
十->二进制转换 (C语言代码)浏览:1409 |
十->二进制转换 (C++代码)(零和负数需要特殊处理)浏览:1040 |
点我有惊喜!你懂得!浏览:2072 |
C语言程序设计教程(第三版)课后习题8.3 (Java代码)浏览:1374 |
C语言程序设计教程(第三版)课后习题8.5 (C语言代码)浏览:584 |
C语言程序设计教程(第三版)课后习题9.4 (Java代码)浏览:1419 |
WU-蓝桥杯算法提高VIP-Quadratic Equation (C++代码)浏览:1755 |
printf基础练习2 (C语言代码)浏览:646 |
简单的a+b (C语言代码)浏览:528 |
C语言程序设计教程(第三版)课后习题10.4 (C语言代码)浏览:886 |