所用公式:周长公式:C=2πr面积公式:S=πr²具体代码:#include<stdio.h>int main(){float r,PI;PI = 3.14159;printf("请输入圆的半径:n")