how to do maths calculation in java
807601Jan 30 2008 — edited Jan 31 2008i was asked to write a program that can do calculations such as 4+3*2=10, (4+(2*(1+3)))/1.2=10. As far as I know that Java doesn't have the eval function which can do this type of calculations. How can I write a program that can do the work? I have no idea how to start. Help please!!!