Skip to content

Commit 9567a78

Browse files
authored
1 parent 55c114d commit 9567a78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Maths/Area.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,11 @@ private static double surfaceAreaRectangle(double length, double width) {
7474
}
7575

7676
/**
77-
* Calculate surface of a cylinder
77+
* Calculate surface area of a cylinder
7878
*
7979
* @param radius radius of the floor
8080
* @param height height of the cylinder.
81+
* @return volume of given cylinder
8182
*/
8283
private static double surfaceAreaCylinder(double radius, double height) {
8384
return 2 * (Math.PI * radius * radius + Math.PI * radius * height);

0 commit comments

Comments
 (0)