C++ Program to Calculate Area and Perimeter of Circle1 min read

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:


Leave a Comment