Wednesday, May 6, 2020

URI 1002 - Area of a Circle

#include<stdio.h>
int main()
{
    double R,A;
    scanf("%lf",&R);
    A = 3.14159 * (R*R);
    printf("A=%.4lf\n",A);

    return 0;
}

No comments:

Post a Comment