Question: Write a method called cylinderSurfaceArea that accepts a radius and height as parameters and returns the surface area of a cylinder with those dimensions. For
Write a method called cylinderSurfaceArea that accepts a radius and height as parameters and returns the surface area of a cylinder with those dimensions. For example, the call cylinderSurfaceArea(3.0, 4.5) should return 141.3716694115407. The formula for the surface area of a cylinder with radius and height is the following:
surface area = 2πr2 + 2πrh
Step by Step Solution
3.29 Rating (161 Votes )
There are 3 Steps involved in it
public static doubl... View full answer
Get step-by-step solutions from verified subject matter experts
