# Question Create a Circle class that computes the area and circumference of a circle. The class has 2 methods both of which return double. The calculateArea() method calculates the area of a circle given the radius (Area = ͖Pi * radius * radius) and returns the area of the circle. (Pi = 3.14159) The calculateCircumference() method calculates the circumference of the circle given the radius of the circle (Circumference = Pi * radius * 2) Prompts the user to enter the radius of the circle and displays the area and the circumference of the circle in the console

VZUSJ7 The Asker · Computer Science

Create a Circle class that computes the area and circumference of a circle.

The class has 2 methods both of which return double.
The calculateArea() method calculates the area of a circle given the radius (Area = ͖Pi * radius * radius) and returns the area of the circle. (Pi = 3.14159)
The calculateCircumference() method calculates the circumference of the circle given the radius of the circle (Circumference = Pi * radius * 2)
Prompts the user to enter the radius of the circle and displays the area and the circumference of the circle in the console

More