Create An Algorithm That Calculates The Area Of A Circle Given The Diameter By A User In C#?

1

1 Answers

Anonymous Profile
Anonymous answered
1. START  2. Define variables 'pi' as constant 3.14(we can define this a macro also) , and 'r' as radius  3. By taking diameter we can get the radius as one half of the diameter .i.e., r=d/2  4. And calculate the area of the circle with the formula pi * r * r  5. STOP

Answer Question

Anonymous