hi this ritesh writing a basic c program for beginner here it go's
#include<stdio.h>
#include<conio.h>
main()
{
int r,pi=3.14;
float area;
clrscr();
printf("enter the value of radius of circle");
scanf("%d",&r);
area=pi*r*r;
printf("the area of the circle is =%d",area);
getch();
}
output will be
enter the value of radius of circle=10
the area of the circle is= 312.2850