#include<stdio.h>
#include<conio.h>
void main()
{
float radius,area;
clrscr(); // Clear Screen
printf("\nEnter the radius of Circle : ");
scanf("%d",&radius);
area = 3.14 * radius * radius;
printf("\nArea of Circle : %f",area);
getch();
}
No comments:
Post a Comment