Example of algorithm to take out perimeter of a circle
Answers
Answered by
1
I shall write this algorithm in pseudocode. From that, one can do the flowchart.
1: print “ Input the diameter of a circle”
2: input d.
3: if d = 0 or d = null then stop.
4: pi = 3.1415.
5 circumference = pi * d.
6 area = (pi * d^2) / 4.
7: print circumference, area.
--$îи©н@и@
Attachments:
Similar questions
Business Studies,
4 months ago
Math,
4 months ago
English,
4 months ago
Geography,
9 months ago
Science,
9 months ago