URI Online Judge | 1002
Area of a Circle
Adapted by Neilor Tonin, URI Brazil
Timelimit: 1
Problem Description:
Problem Number:1002
Problem Name: Area of a Circle
Author’s Name:Adapted by Neilor Tonin, URI Brazil
Timelimit: 1
Problem Category: BEGINNER.
Problem Source: https://www.urionlinejudge.com.br/judge/en/problems/view/1002
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;
}
0 comments:
Post a Comment