.. www.engineerscur.blogspot.com: C language program to find area of circle

C language program to find area of circle

//program to find area of circle
#include<stdio.h>
#include<conio.h>
void main()
{            int i,r;
            float p;
            clrscr();
            printf("enter radius of circle:-");
            scanf("%d",&r);
            p=3.1416;
            i=p*r*r;
            printf("area is %d",i);
            getch();
}