i want the input to be read from text file not from user
I want a program which is read the input (infix form)
from file and convert it to postfix form and evaluate the result Input from file 5*6+4/2-2+9 (2+1)/(2+3)*1+3-(1+2*1) (3*3)*6/2+3+3-2+5
Output Infix= 5*6+4/2-2+9 Postfix = 56*42/+2-9+ The result = 39 Infix=(2+1)/(2+3)*1+3-(1+2*1) Postfix = 21+23+/1*3+121*+- The result = 0.6 Infix= (3*3)*6/2+3+3-2+5 Postfix = 33*6*2/3+3+2-5+ The result = 36