Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 221 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 221 Bytes

Exercise 5-10

Write the program expr, which evaluates a reverse Polish expression from the command line, where each operator or operand is a separate argument.

For example, expr 2 3 4 + * evaluates 2 * (3 + 4).