URI Online Judge Solution 1002 - Solution in C



Solution in C



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


~~~~~Happy coding~~~~

2 comments:

Powered by Blogger.