Question: Code in java please Problem 3: Area and perimeter of a circle Using JOptionPane, ask the user to input the radius of a circle and

Code in java please
Problem 3: Area and perimeter of a circle Using JOptionPane, ask the user to input the radius of a circle and convert the input to a double variable. In the example below, it is assumed the variable radius is named r. You can name it differently if you want. Compute the perimeter (2*PI*r) and the area (Pl*r*r). Use the predefined constant Math.Pl. You can use Math.pow to compute the r*r if you want. Give an output in complete sentence ("The circle with radius 10 has an area of 314.159 and a perimeter of 62.83"). If you have many decimals and you want to show less decimals when doing the output, see the trick at the end of problem 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
