1. 程式人生 > >2002 計算球體積

2002 計算球體積

pan int efi \n style fin code define def

#include<cstdio>
#define PI 3.1415927

int main() {
    double r;
    while (scanf_s("%lf", &r) != EOF) {
        printf("%.3f\n", 4 * r*r*r*PI / 3);
    }
    return 0;
}

2002 計算球體積