Page 1 of 1

Question 4 (Marks: 15) Write the pseudocode for an application that will request the user to enter the radius of a circl

Posted: Fri Jul 08, 2022 6:35 am
by answerhappygod
Question 4 Marks 15 Write The Pseudocode For An Application That Will Request The User To Enter The Radius Of A Circl 1
Question 4 Marks 15 Write The Pseudocode For An Application That Will Request The User To Enter The Radius Of A Circl 1 (63.48 KiB) Viewed 46 times
In Pseudecode With Comments, 15marks.Please help🙏
Question 4 (Marks: 15) Write the pseudocode for an application that will request the user to enter the radius of a circle. The radius is the measurement from the centre of the circle to the edge of the circle. The radius should then be passed to a method which will use the value of the radius to compute the area of a circle. The result of the calculation should be returned to the mainline logic which should display the area of the circle. The formula for calculating the area of a circle is: O radius -area A = π xr² The calculation can also be written as: A = 3.14 x (rxr) r = radius A = area π = 3.14 (which is called Pl) Note: Provide appropriate comments in your pseudocode.