正三角形外接圆面积

#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;
}

 

 

posted on 2018-06-01 17:44  Mint-Tremor  阅读(283)  评论(0编辑  收藏  举报

导航