//1002 - Area of a Circle
#include<stdio.h>
main()
{
double PI=3.14159,R,A;
scanf("%lf",&R);
A=PI*(R*R);
printf("A=%.4lf\n",A);
return 0;
}
//Happy_coding
#include<stdio.h>
main()
{
double PI=3.14159,R,A;
scanf("%lf",&R);
A=PI*(R*R);
printf("A=%.4lf\n",A);
return 0;
}
//Happy_coding
No comments:
Post a Comment