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

add method to calculate power of a number #52

Merged
merged 3 commits into from Oct 24, 2022
Merged

Conversation

ays14
Copy link
Contributor

@ays14 ays14 commented Oct 15, 2022

Related Issue

Closes: #50

Describe the changes you've made

  • Added a method doPower which accepts two arguments: base and exponent and then returns the value of base ^ exponent

Type of change

What sort of change have you made:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • By running a few test cases on local

Checklist

  • My code follows the guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented on my code, particularly wherever it was hard to understand.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • Any dependent changes have been merged and published in downstream modules.

@vercel
Copy link

vercel bot commented Oct 15, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
all-round-calculator ✅ Ready (Inspect) Visit Preview Oct 19, 2022 at 6:50PM (UTC)

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.

Our team will soon review your PR. Thanks :)

Copy link
Owner

@Susmita-Dey Susmita-Dey left a comment

Choose a reason for hiding this comment

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

Thanks for adding the documentation along with the code.

Good job.

@Susmita-Dey Susmita-Dey added enhancement New feature or request hacktoberfest-accepted Hacktoberfest issues or PRs accepted approved PR have been approved labels Oct 19, 2022
Copy link
Owner

@Susmita-Dey Susmita-Dey left a comment

Choose a reason for hiding this comment

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

@ays14 There's some merge conflicts. Kindly fix it then I'll merge it.

@ays14
Copy link
Contributor Author

ays14 commented Oct 19, 2022

@ays14 There's some merge conflicts. Kindly fix it then I'll merge it.

Hi @Susmita-Dey , resolved the conflicts, please check.

Copy link

@its-abhirup its-abhirup left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Owner

@Susmita-Dey Susmita-Dey left a comment

Choose a reason for hiding this comment

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

Great job!

@Susmita-Dey Susmita-Dey merged commit 54f181d into Susmita-Dey:main Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved PR have been approved enhancement New feature or request hacktoberfest-accepted Hacktoberfest issues or PRs accepted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add functionality to calculate power of a number
3 participants