PROGRAM TO FIND AREA & PERIMETER OF CIRCLE IN C++#include #include void main(){clrscr();double rad, area, perimeter;coutrad;area=3.14*rad*rad;perimeter=2*3.14*rad;cout
void main() { float pi=3.14,area,perimeter,r=2; area=pi*r*r; perimeter=2*pi*r; getch(); }
Rewrite the above program so that the program accepts any value for the radius then recalculate the area of the circle.
Area of any circle = pi*radius2
Of a circle,the area is: Pi * r^2,perimeter is: 2* Pi * rWhere, r is the distance from the circle's center to the perimeter, and Pi is a constant: Pi ~ 3.14.
PROGRAM TO FIND AREA & PERIMETER OF CIRCLE IN C++#include #include void main(){clrscr();double rad, area, perimeter;coutrad;area=3.14*rad*rad;perimeter=2*3.14*rad;cout
void main() { float pi=3.14,area,perimeter,r=2; area=pi*r*r; perimeter=2*pi*r; getch(); }
Rewrite the above program so that the program accepts any value for the radius then recalculate the area of the circle.
If 'R' is the radius of the circle, then-- area of the circle is [ pi R2]-- perimeter of the circle is [ 2 pi R ]
The perimeter of a circle is its circumference
Area of any circle = pi*radius2
Of a circle,the area is: Pi * r^2,perimeter is: 2* Pi * rWhere, r is the distance from the circle's center to the perimeter, and Pi is a constant: Pi ~ 3.14.
no
zero is the least area and the max area, is of a circle of perimeter 40 .....
No, it means the perimeter of the circle.
It is called perimeter.
For a given perimeter, the circle has the largest area possible.