Skip to content

Add a surface area calculation for square based pyramids - #7684

Closed
Uranocene238 wants to merge 2 commits into
TheAlgorithms:masterfrom
Uranocene238:Lab04_Branch
Closed

Uranocene238 wants to merge 2 commits into
TheAlgorithms:masterfrom
Uranocene238:Lab04_Branch

Conversation

@Uranocene238

@Uranocene238 Uranocene238 commented Oct 29, 2026 •

Copy link
Copy Markdown
  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized it.

}
return Math.PI * radius * (radius + Math.pow(height * height + radius * radius, 0.5));
}

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lab 06 Commit

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.21%. Comparing base (2319794) to head (0161b60).

Files with missing lines Patch % Lines
src/main/java/com/thealgorithms/maths/Area.java 0.00% 7 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #7684      +/-   ##
============================================
- Coverage     82.22%   82.21%   -0.01%     
+ Complexity     8403     8400       -3     
============================================
  Files           843      843              
  Lines         26141    26141              
  Branches       5100     5100              
============================================
- Hits          21495    21493       -2     
  Misses         3854     3854              
- Partials        792      794       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants