[URI Online Judge] 1002 Area of a Circle [c]

Problem link: 1002 Area of a Circle
https://www.urionlinejudge.com.br/judge/en/problems/view/1002

 
[c]
#include<stdio.h>
int main()
{
double r,pi,a;
pi=3.14159;
scanf("%lf",&r);
a=pi*r*r;
printf("A=%.4lfn",a);
return 0;
}

[/c]

Advertisements