Question: Java programming language please concentrate on the part of the unit of measurement. paste the code below and a screenshot of the output. thanks in

Java programming language
please concentrate on the part of the unit of measurement.
paste the code below and a screenshot of the output.
thanks in advance
2. Function Name: cone Surface Area Problem Description: Write a user-interactive function to calculate the volume of a cone. a. Get the slant height and radius of the circle at the base of the cone, and the unit of measurement of the cone from the user, make sure to use a descriptive message so the user knows what to enter. b. Calculate the surface area of the cone using the following formula: Surface Area = (pi * radius2 )+ (pi* radius * slantHeight) C. Print the calculated surface area with 3 digits after the decimal place; be sure to add a label to display value so the user knows what the value means with the units entered by the user (e.g. display Surface Area of the cone is 35.322 units squared" instead of just 35.322, where "units would be replaced with whatever unit of measurement the user entered)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
