Skip to content

Commit 166dbe4

Browse files
authored
extra space removed
1 parent af85908 commit 166dbe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/maths/Volume.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public static double volumeFrustumOfCone(double r1, double r2, double height) {
110110
* @param lowerBaseArea area of the lower base
111111
* @param height height of the frustum
112112
* @return volume of the frustum
113-
*/
113+
*/
114114
public static double volumeFrustumOfPyramid(double upperBaseArea, double lowerBaseArea, double height) {
115115
return (upperBaseArea + lowerBaseArea + Math.sqrt(upperBaseArea * lowerBaseArea)) * height / 3;
116116
}

0 commit comments

Comments
 (0)