Monday, August 24, 2009

Prefix,Infix and Postfix

Infix (A + B) / D

Prefix / + A B D

Postfix A B + D /



2..Infix(A + B) / (D + E)

Prefix / + A B + D E

Postfix A B + D E + /

3...Infix(A - B / C + E)/(A + B)

Prefix/ + - A / B C E + A B

Postfix A B C / - E + A B + /

4....Infix B ^ 2 - 4 * A * C

Prefix - ^ B 2 * * 4 A C

Postfix B 2 ^ 4 A * C * -

No comments:

Post a Comment