正三角形外接圆面积

#include<stdio.h>
#include<stdlib.h>


int main()
{
int n;
float pi = 3.1415926;
scanf("%d", &n);
while (n--)
{
float m;
scanf("%f", &m);
float S = pi*m*m / 3;
printf("%.2f\n", S);

}
system("pause");
return 0;
}

 

猜你喜欢

转载自www.cnblogs.com/minTTremor/p/9122730.html
今日推荐