# C++ Program to Find Area and Circumference of a Circle

In this C++ program, we will calculate circumference and area of circle given radius of the circle.
The area of circle is the amount of two-dimensional space taken up by a circle. We can calculate the area of a circle if you know its radius. Area of circle is measured in square units.

Where, Where PI is a constant which is equal to 22/7 or 3.141(approx)

## C++ Program to Find Area of Circle

```// C Program to calculate area of a circle

#include <iostream>
using namespace std;

#define PI 3.141

int main(){
cout << "Enter radius of circle\n";
cout << "Area of circle : " << area;

return 0;
}
```
Output
```Enter radius of circle
7
Area of circle : 153.909
```

In above program, we first take radius of circle as input from user and store it in variable radius. Then we calculate the area of circle using above mentioned formulae and print it on screen using cout.

## C++ Program to Find Circumference of Circle

Circumference of circle is the length of the curved line which defines the boundary of a circle. The perimeter of a circle is called the circumference.
We can compute the circumference of a Circle if you know its radius using following formulae.

Circumference or Circle = 2 X PI X Radius

We can compute the circumference of a Circle if you know its diameter using following formulae.

Circumference or Circle = PI X Diameter

```// C Program to calculate circumference of a circle

#include <iostream>
using namespace std;

#define PI 3.141

int main(){
cout << "Enter radius of circle\n";
// Circumference of Circle = 2 X PI x Radius
```Enter radius of circle