# C Program To Find Area Of A Circle

C Program To Find Area Of A Circle. If you are looking for C program to calculate area of a circle, here in this tutorial we will help you to learn how to write a program to find area of a circle in C language.

## C Program to Find Area of a Circle

Learn how to write a C program to find area of a circle. Writing C Program to finding area of circle can be done using various techniques but here in this program, we show how to write a C program to calculate area of a circle in a proper way.

### C Program to Calculate Area of a Circle Source Code

```/* C program to calculate area of a circle - AreaOfCircle.C */
#include <stdio.h>
#include <math.h>
#define PI 3.142

void main()
{
//variable declaration
printf("Enter the radius of a circle \n");
//logic to find area of a cirlce
area = PI * pow(radius, 2); //area of a circle formula
//printing area of a cirlce
printf("Area of a circle = %5.2f\n", area);
}```

### C Program to Find Area of a Circle Source Code

```/* C program to find area of a circle - AreaOfCircle.C */

#include<stdio.h>

int main()
{
//variables declaration
//Taking input from user and reading it
printf("\nEnter the radius of Circle : ");
//formula to find area of a circle
//printing area of a circle
printf("\nArea of a Circle is: %f", area);

return (0);
}```

### C Program to Find Area of a Circle Output

Enter the radius of Circle : 15

Area of a Circle is: 706.5