Write an algorithm to find area and circumference of a circle (sub-computer science)
Answers
Answered by
1
Answer:
Algorithm to find area of circle--
Let radius be r
1. Read r
2. Set pi = 3.14
3. Calculate area = pi * r *r
4. Display area.
5. Stop
Algorithm to find circumference of circle--
Let radius be r
1.Read r.
2. Set pi = 3.14
3. Calculate circumference= 2 * pi* r
4. Display circumference.
5. Stop
Similar questions