The initial value of the radius of the circle is equal to one unit and each succeeding radius is one unit greater than the previous. Draw the flowchart and write the pseudocode that would compute for the individual area of 20 circles starting with r = 2 and determine how many circles whose radius is greater than 10. Print out each radius and the computed area of the circle and the total number of circle whose radius is greater than 10.
for r=2 to r=40
Ai=list(pi*r^2)
N=Count If r>10
print(Ai)
print("The number of circles whose radius is greater than 10 is "+N.)
Comments
Leave a comment