Ad Code

Responsive Advertisement

1002 - Area of a Circle

Author: Ismail Hosen

Daffodil International University





Problem Link

//Please follow from main function

#include<stdio.h>

#define PI 3.14159



int main()

{

    double A, R;



     scanf("%lf", &R);



     R=R*R;



     printf("A=%.4lf\n", PI*R);



     return 0;

}

Post a Comment

0 Comments