Skip to content

Commit 2a3762b

Browse files
committed
Added surface area calculation for pyramid
1 parent 2319794 commit 2a3762b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • src/main/java/com/thealgorithms/maths

‎src/main/java/com/thealgorithms/maths/Area.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,5 @@ public static double surfaceAreaCone(final double radius, final double height) {
233233
return Math.PI * radius * (radius + Math.pow(height * height + radius * radius, 0.5));
234234
}
235235
}
236+
git diff --stat
237+

0 commit comments

Comments
 (0)