C++

C++ Program to Calculate Area and Perimeter of Circle

The circle’s circumference — the measure of the total length around the shape — is determined based on the fixed ratio of Pi. In degrees, a circle is equal to 360° and Pi (p) is the fixed ratio equal to 3.14.




Area: p * r * r

Perimeter: 2 * p * r

C++ Code:

Output:

About the author

admin

Leave a Comment