RosettaCodeData/Task/Parsing-RPN-calculator-algorithm/Groovy/parsing-rpn-calculator-algorithm-2.groovy

2 lines
49 B
Groovy
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
println evaluateRPN('3 4 2 * 1 5 - 2 3 ^ ^ / +')