圆的面积
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#include <cstdio>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main()
|
||||
{
|
||||
double pi = 3.14159, r;
|
||||
scanf("%lf", &r);
|
||||
printf("A=%.4f", pi * r * r);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user