Computer Science, asked by ADNAN205, 2 months ago

Write an algorithm to calculate the area and perimeter of a circle after accepting the radius.(A=3.14xRxR, P=2x3.14xR)

Answers

Answered by FantomDX
0

Answer:

i think

1 Start

2 Read the value of radius r of Circle

3. Give Pi = 3.14

4 Calculate area of Circle = Pi x r x r

5. Calculate Circumference of circle

( You can use either C= 2 X Pi X r Or Area (A) = Pi X r X r Circumference (C) = 2 X Pi X r A/r = Pi X r A/r = C/2 So C = 2 x ( A/r ) 5. Print area and Circumference

6. End

Similar questions