Are the operators only + and -? That will make it easier because they have the same precedence. If other operators with different precedence's (like * and /) are allowed it gets much harder.
Type: Posts; User: Norm
Are the operators only + and -? That will make it easier because they have the same precedence. If other operators with different precedence's (like * and /) are allowed it gets much harder.
That sounds like what a compiler does: takes Strings and converts them to operations that a computer can do.
If the full expression is always the same, 3 numbers with two operators + and -:...