infix A+C*(D-E)^(B+C)-F to postfix
Answers
Answered by
0
Answer:
S:stack
while(more tokens)
x<=next token
if(x == operand)
print x
else
while(precedence(x)<=precedence(top(s)))
print(pop(s))
push(s,x)
while(! empty (s))
print(pop(s))
Explanation:
Similar questions