so I am looking for advice on how to solve a calculation that is entered as a String in Java.
For example: "50 * 6 - 75 / 25" is entered I am then needing to solve this calculation using bodmas to.
So (50*6)-(75/25)
Answer = 297
I didn't explain it very well but any help would be appreciated.