C Program for Beginners : Area of Circle
Shape : Circle Formula : Π * r * r | Definition :- Ellipse in which the two axes are of equal length
- Plane curve generated by one point moving at a constant distance from a fixed point
- You can compute the area of a Circle if you know its radius.
|
Program :
#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();
}
Output :
Enter the radius of Circle : 2.0
Area of Circle : 6.14
Incoming search terms:

About the author: Pritesh View all posts by Pritesh
My name is Pritesh Taral. I am working in well known MNC. as Java Developer. I am part time blogger loves writing articles on C/C++. I am active on facebook using community fan page .One can Visit me @ Facebook
Facebook Fan Page