Computer Science, asked by aninditadutta1987, 1 month ago

write an algorithm and draw a flowchart to accept the radius of a circle and print its perimeter​

Answers

Answered by sharadchande53
0

Answer:

Algorithm and Flowchart to Find Area and Circumference of Circle

[1296 views]

What is Area of Circle?

The area of circle is the area enclosed inside the dimensions of a circle. Formula for Area of Circle is: Area = π*r*r

To calculate the Area of circle we are given the radius of the circle as input and we use the given formula to calculate the area.

Area of Circle Algorithm:

Step 1: Start

Step 2: Input radius

Step 3: let pi = 3.14

Step 4: area = pi * radius * radius

Step 6: print area

Step 7: stop

Flowchart for Area of Circle:

Flowchart for Area of Circle

What is Circumference of Circle?

The Circumference of a circle is the total length of the boundary of the circle. Formula for Circumference of Circle is Circumference = 2*π*r

To calculate the Circumference of circle we are given the radius of the circle as input and we use the given formula to calculate the Circumference.

Circumference of Circle Algorithm:

Step 1: Start

Step 2: input radius

Step 3: let pi = 3.14

Step 5: circumference = 2 * pi * radius

Step 6: print circumference

Step 7: stop

Flowchart for Circumference of Circle:

Circumference of Circle Flowchart

Similar questions