Parsing mathematical experssions with two values that have parenthesis and minus signs
- by user45921
I'm trying to parse equations like these which only has two values or the square root of a certain value from a text file:
100+100
-100-100
-(100)+(-100)
sqrt(100)
by the minues signs, parenthesis and the operator symbol in the middle and the square root, and I have no idea how to start off... I've got the file part done and the simple…