Question: java help pls! FYI, Math.PI is a defined value for the Math class that can be assigned to a variable or constant, i.e. double myVar

java help pls!
FYI, Math.PI is a defined value for the Math class that can be assigned to a variable or constant, i.e. double myVar = Math.PI; 1. Create a constant that assigns the value of ...PI... using Math.PI. 2. Add a calculation of a circle's perimeter using the formula 2R, where ...R... is the radius of the of the circle with the value of. .7cm. Example: Radius of 4cm.C=2R =2constant(PI)4=25.12cm 3. Display the result to the Console
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
