Sunday, November 20, 2011

Please help me with a code which converts a postfix notation to an infix using trees, stack or linked list?

I am trying to write a program which takes a postfix expression as an input and provides an infix form of the expression. It can use expression trees, linked lists or stack. I have searched everywhere online but could only find infix to postfix conversion programs. Program in any language will be fine.


An example of this is: Post fix expression: 45+


And Infix Expression: (4+5)


Thanks

Please help me with a code which converts a postfix notation to an infix using trees, stack or linked list?
45+I(iffix):(4.5)=A(45+-4.5)=8.10infix


No comments:

Post a Comment