Before seeing this uri 1002 solution in c make sure that you have tried enough(at least 30 minutes).Please do not copy this code. I request you to understand the logic and then write your code. If you really wanna be a good programmer then you must have the virtue of patience. If you do not feel your code then I am sorry to say that you are not on the right path. Happy coding.

Question of uri area of a circle :

uri 1002

Solution of uri 1002 :

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

If you can not understand this solution or if you need any other help please feel free to ask me on comment . I will try my level best to help you .