Course of Raku / Addendum 🆕 / Bringing it together / Mixed mini-projects / Exercises
A reverse-Polish calculator
Problem
Evaluate the reverse-Polish (postfix) expression
3 4 + 5 *, where each operator acts on the two values
before it. The result is 35. Print it.
Example
The program prints:
35Solution
Course navigation
← Solution: Roman numerals | Solution: A reverse-Polish calculator →