rpn/README.md
2021-08-08 17:02:59 +03:00

254 B

Reverse Polish notation calculator in .NET C#

Pass RPN expression as one string as an argument.

Example

dotnet run "5 3 +"
# >> 8

dotnet run "10 2 - 5 +"
# >> 13

P.S.I still hate OOP, so code is rather imperative