#include<stdio.h>
#include<conio.h>
void main()
float a,r; //to get accurate results.
clrscr();
printf("Enter the radius of circle\n");
scanf("%f",&r);
a=3.14*r*r;
printf("Area of circle=%f",a);
getch();
}
IN OUR NEXT POST I WILL EXPLAIN ABOUT AREA OF TRIANGLE.
No comments:
Post a Comment