Question: Please write the code in Java Create a console program named ConeAreaCalc that calculates the total surface area of a right-circular cone like the one
Please write the code in Java

Create a console program named ConeAreaCalc that calculates the total surface area of a right-circular cone like the one pictured here. To calculate the area (A) of a cone, given a radius r and a height h, the formula is: A=r(r+h2+r2) Here is what the output of your program should look like: CS170: Cone Area Calculator ++++++++++++++++++++++++++ Enter the radius of the cone: 5.9 Enter the height of the cone: 8.3 Cone Surface Area: 298.11071008534935
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
