-2

I would like to calculate a formula like x+3-5*4=5 and to find the x, in java. How could i do that?

In the given example the x would be 22.I need something like an interpreter or something...i have tried with PostFixed forms and other but that ones dont work with variables...need help

Alejandro Colorado
  • 6,034
  • 2
  • 28
  • 39

1 Answers1

0

You could try any of these:

Alejandro Colorado
  • 6,034
  • 2
  • 28
  • 39