Write an algorithm to calculate the area of circle :-
Step 1 : START
Step 2 : Declare variables ‘a’ and ‘r’ .
Step 3 : Read the values of variable r (radius) .
Step 4 : calculate “ a = 3.14 * r * r “ .
Step 5 : Display area of circle (a) .
Step 6 : STOP
|
An algorithm to calculate the area of circle |
Comments
Post a Comment