Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added N sided polygon calculation in 2D Shapes Calculator #612

Merged
merged 4 commits into from
Feb 24, 2024
Merged

Added N sided polygon calculation in 2D Shapes Calculator #612

merged 4 commits into from
Feb 24, 2024

Conversation

Yuvraj960
Copy link
Contributor

Fixes Issue🛠️

Closes #591

Description👨‍💻

Added the option for user to calculate the area and perimeter for any N-Sided regular polygon shape. He can just enter number of sides and length of a side to get the output.

Type of change📄

  • New feature (N-sided polygon option added)

How this has been tested✅

  • Performed the calculations for basic 3,45 sided regular shapes and compared it with results of this calculator.
  • Compared the results with a very high accuracy, verified website which does the same calculations of calculating the area and perimeter of n-sided regular shapes.

Checklist✅

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I am an Open Source Contributor

Screenshots/GIF📷

image

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Hey @Yuvraj960, Welcome to the project CalcDiverse! 🎊
Thanks for your contribution! Your effort makes this project better. Keep it up! 🙌
Please wait for the PR to be reviewed. Happy Coding!! ✨

Copy link

netlify bot commented Feb 24, 2024

Deploy Preview for calcdiverse ready!

Name Link
🔨 Latest commit 052964e
🔍 Latest deploy log https://app.netlify.com/sites/calcdiverse/deploys/65da3b8866fd670008abe2c9
😎 Deploy Preview https://deploy-preview-612--calcdiverse.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Yuvraj960
Copy link
Contributor Author

@Rakesh9100, Please review my PR and assign me two more issues at once.
One is Time Until next birthday calculator and second one is palindrome calculator.
I will make their PRs in a day or two, as very less work to be done for them.

@Rakesh9100 Rakesh9100 changed the title N-Sided Polygon Calculation Added N sided polygon calculation in 2D Shapes Calculator Feb 24, 2024
@Rakesh9100
Copy link
Owner

Merged 🎉 @Yuvraj960

@Rakesh9100 Rakesh9100 merged commit 38bce9d into Rakesh9100:main Feb 24, 2024
4 checks passed
@Rakesh9100 Rakesh9100 added Completed 🥳 PR successfully merged and issue resolved on completion SWOC S4 SWOC Open Source Program Easy IWOC2k24 (10 Points) ✨, JWOC2k24 (1 Point) 🎉, SWOC2k24 Level-1 (20 Points) 💫 labels Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Completed 🥳 PR successfully merged and issue resolved on completion Easy IWOC2k24 (10 Points) ✨, JWOC2k24 (1 Point) 🎉, SWOC2k24 Level-1 (20 Points) 💫 SWOC S4 SWOC Open Source Program
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Add N sided polygon calculation in 2D Shapes Calculator
2 participants