Evaluating the reverse polish notation
Problem Given the list of strings consisting of the asthmatic equation expressed in the Reverse Polish notation. Write the program that evaluates the equation and returns the result. Example: For { "4" , "1" , "+" , "2.5" , "*" }, output =12.5 { "5" , "80" , "40" , "/" , "+" } = 7