Program to find area of circle in c language.
#include<stdio.h>
#include<conio.h>
void main()
{
float r,area;
clrscr();
printf("enter the radius of circle=");
scanf("%f",&r);
area=(3.14*r*r);
printf("the area of circle is =%f",area);
getch();
}
■) Output->
Comments
Post a Comment