# Circumference of a Circle

## Circumference and Area of a Circle

Compute the area and circumference of a circle given the radius. The input/output behavior of the program should be

Area of Circle with radius 5.1 is 81.7104

Circumference is 32.0433

Before we can the program , we must consider a number of issues. Recall that the area of a circle is . C++ does not have a exponentiation operator, but this operation is easily handled by multiplying the radius is Radius, the area of the circle can be computed by the expression

Because we wish to allow  the user to input a floating-point value as the radius, Radius should be a C++ floating-point type. Since the problem statement did not specify the possible size of the radius, or the accuracy of the result, we will arbitrarily choose type float for Radius.

### //Program area and circumference of circle given radius

#include<iostream.h>

#include<conio.h>

void main()

{

getch();

}

Output...... ### Data Structures Rekha Setia is a passionate blogger of Extra Computer Notes. if you have any ideas or any request me @