This PR adds a new exponent operation to the calculator. The exponent operation allows users to calculate the result of raising a base number to a given exponent.
Summary of Changes
Added a new function named 'exponent' to calculate the exponent of two numbers.
Integrated the new exponent operation into the existing calculator function.
Added a new option in the operation selection menu for the exponent operation.
Handled the exponent operation in the operation execution part of the calculator function.
Please review and merge this PR. Thank you!
Fixes #1.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/add-exponent-operation_2
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.
Description
This PR adds a new exponent operation to the calculator. The exponent operation allows users to calculate the result of raising a base number to a given exponent.
Summary of Changes
Please review and merge this PR. Thank you!
Fixes #1.
To checkout this PR branch, run the following command in your terminal:
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.