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

FRQ 3 Review Ticket #1

Open
4 tasks done
nicm2 opened this issue Dec 5, 2022 · 0 comments
Open
4 tasks done

FRQ 3 Review Ticket #1

nicm2 opened this issue Dec 5, 2022 · 0 comments

Comments

@nicm2
Copy link
Owner

nicm2 commented Dec 5, 2022

  • Finish rpnToResult for Calculator
  • Add unbalanced parenthesis check and in original FRQ, or other error checks. FYI, usually when structuring code with error checking it can greatly impact code structure.
  • Build in Power of operator ^:2 ^ 1 = 2, 2 ^ 2 = 4, 2 ^ 3 = 83.
  • Build an API to receive an expression and respond with a result. This is a good opportunity to respond with an error if you built in parenthesis or other error checking

Calculator Tester

Code

image

Output

image

Exponent Added

image

Error Handling

image
image

API

Code

image

Postman

image
image
image
image
image
image

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

No branches or pull requests

1 participant