Write the pseudocode for an application using java, that willrequest the user to enter the radius of a circle. The radius is themeasurement from the centre of the circle to the edge of thecircle. The radius should then be passed to a method which will usethe value of the radius to compute the area of a circle. The resultof the calculation should be returned to the mainline logic whichshould display the area of the circle.
The formula for calculating the area of a circle is:
The calculation can also be written as: A = 3.14 x (r x r) r =radius A = area π = 3.14 (which is called PI)
Write the pseudocode for an application using java, that will request the user to enter the radius of a circle. The radi
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am