C program to find area and perimeter of circle
This program will read radius of the circle and find the area and perimeter of the circle.
Area of circle is calculated by PI*R2
Perimeter of the circle is calculated by 2*PI*R
Here, "R" is the radius of the circle, in this program we have a macro defined as PI with the value of PI and variable rad holds the radius entered by the user.
Area and Perimeter of circle program in c
Output
need an explanation for this answer? contact us directly to get an explanation for this answer