Objective
Build a postfix calculator: read a single argument containing integers and operators separated by spaces, evaluate it stack-style, and print the final value.
Steps
$ ./rpn "3 4 +"
7
$ ./rpn "5 1 2 + 4 * + 3 -"
14
$ ./rpn "5 0 /"
Error
Expected files
Allowed functions

Objective
Build a postfix calculator: read a single argument containing integers and operators separated by spaces, evaluate it stack-style, and print the final value.
Steps
$ ./rpn "3 4 +"
7
$ ./rpn "5 1 2 + 4 * + 3 -"
14
$ ./rpn "5 0 /"
Error
Expected files
Allowed functions

Tests
Run the tests to grade your code