From 9567a785216509c9a773eb8b3663fef4a687da9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C9=AA=C9=B4=E1=B4=80=CA=8F=E1=B4=80=E1=B4=8B=20P?= =?UTF-8?q?=E1=B4=80=C9=B4=E1=B4=85=E1=B4=87=CA=8F?= <87496159+Harpia-Vieillot@users.noreply.github.com> Date: Wed, 3 Nov 2021 06:22:05 +0530 Subject: [PATCH] Fix typo (#2802) --- Maths/Area.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Maths/Area.java b/Maths/Area.java index c721a304..4a8acca5 100644 --- a/Maths/Area.java +++ b/Maths/Area.java @@ -74,10 +74,11 @@ public class Area { } /** - * Calculate surface of a cylinder + * Calculate surface area of a cylinder * * @param radius radius of the floor * @param height height of the cylinder. + * @return volume of given cylinder */ private static double surfaceAreaCylinder(double radius, double height) { return 2 * (Math.PI * radius * radius + Math.PI * radius * height);