Question: Hi! I need help with this lab. I am working with Eclipse Workspace. This is the first set of instructions. I posted the second and

eclipse-workspace - C\Users\Stephanie Castillo\Downloads Circle (5).java - Eclipse IDE File Edit Source Refactor Navigate Search Project Run Window Help Circle (5).java 1 / 2 // Circle.java 3 // 4 // Print the area of a circle with two different radii 5 // ********* *************** 6 public class Circle 71 8 public static void main(String[] args) 9 { 10 final double PI = 3.14159; 11 int radius = 10; 12 double area = PI * radius * radius; 13 System.out.println("The area of a circle with radius + radius + is + area); radius = 20; area = PI radius * radius; System.out.println("The area of a circle with radius " + radius + " is " + area); 17 } 14 15 16 18) Problems Javadoc Declaration 0 items Description Resource Path Location Type Writable Smart Insert 1. The circumference of a circle is two times the product of Pi and the radius. Add statements to this program so that it computes the circumference in addi the area for both circles. You will need to do the following: Declare a new variable to store the circumference Store the circumference in that variable each time you compute it Add two additional print statements to print your results Be sure your results are clearly labeled
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
