Computer Science, asked by dony2549, 11 months ago

Write a algorithm and flowchart to calculate area and circumference of a circle

Answers

Answered by Tanveeriqbal
0

Answer:

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:

Algorithm and Flowchart to Find Area and Circumference of Circle

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:

Similar questions