hi i need help with this java problem solving , please someone solves it
Write a Java class (program) that reads from the user the radius of a cylinder and its height
as real numbers.
Then calculates and prints the surface area and the volume of the cylinder (both rounded to
2 decimal places). See the given figure.
Hint: Use Math.PI for the value of π.
surface area : A = 2 π r(power2) + 2 π r h
π = the phi (radius i mean )
volume : V = π r(power2) h
Thx
Write a Java class (program) that reads from the user the radius of a cylinder and its height
as real numbers.
Then calculates and prints the surface area and the volume of the cylinder (both rounded to
2 decimal places). See the given figure.
Hint: Use Math.PI for the value of π.
surface area : A = 2 π r(power2) + 2 π r h
π = the phi (radius i mean )
volume : V = π r(power2) h
Thx