I am using Stack class to calculate simple arithmetic expressions involving integers, such as 1+2*3.your program would execute operations in the order given,without regardin
You will have to manually check and assign the operator. E.g.
if (s.equals("+")) { // addition }