#include<stdio.h>
#include<conio.h>
#define pie 3.14
void main()
{
float r,area;
printf("\n enter radius of circle");
scanf("%f",&r);
area=pie*r*r;
printf("area of circle is=%f",area);
getch();
}
#include<conio.h>
#define pie 3.14
void main()
{
float r,area;
printf("\n enter radius of circle");
scanf("%f",&r);
area=pie*r*r;
printf("area of circle is=%f",area);
getch();
}
No comments:
Post a Comment