```c #include <stdio.h> #define PI 3.1415926535 int main() { float radius; printf("请输入半径:"); scanf("%f", &radius); float circumference = 2 * PI * radius; float area = PI * radius * radius; float volume = (4.0 / 3.0) * PI * radius * radius * radius; printf("半径为 %.2f 的圆的周长是 %.2f\n", radius, circumference); printf("半径为 %.2f 的圆的面积是 %.2f\n", radius, area); printf("半径为 %.2f 的圆的体积是 %.2f\n", radius, volume); return 0; } ``` [2024-05-22 17:46:05 | AI写代码神器 | 343点数解答]