Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 235 Bytes

README.md

File metadata and controls

8 lines (6 loc) · 235 Bytes

Calculator

Create a calculator that can handle sum and subtraction operations. This calculator will receive a string and returns the result. For example:

  • "1 + 1" = 2
  • "1 - 1" = 0
  • "4 + 2 + 1 + 3" = 11
  • "4 - 2 + 1" = 3