#include <stdio.h>
#define pi 3.1415926
int main()
{
double a;
scanf("%lf", &a);
printf("正方形面积:%lf
", a * a);
printf("内接圆面积:%lf
", pi * a * a / 4);
printf("外接圆面积:%lf
", pi * a * a / 2);
return 0;
}
#include <stdio.h>
#define pi 3.1415926
int main()
{
double a;
scanf("%lf", &a);
printf("正方形面积:%lf
", a * a);
printf("内接圆面积:%lf
", pi * a * a / 4);
printf("外接圆面积:%lf
", pi * a * a / 2);
return 0;
}