Im trying to write a program that can read Strings such as:
And return the answer using the correct orders of operation.
Im pretty sure I need to implement some sort of parse tree, but I cant remember how to do that.
Is there a function in the standard library that can do this for me? Or any example source code for one?