- A Given An Infix Expression M N P Q R S T Convert It Into A Postfix Expression 3 Marks B Evaluate The Postfix 1 (8.08 KiB) Viewed 27 times
a) Given an INFIX expression M*N*P* (Q/R* (S-T)), convert it into a POSTFIX expression (3 marks) b) Evaluate the postfix
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
a) Given an INFIX expression M*N*P* (Q/R* (S-T)), convert it into a POSTFIX expression (3 marks) b) Evaluate the postfix
a) Given an INFIX expression M*N*P* (Q/R* (S-T)), convert it into a POSTFIX expression (3 marks) b) Evaluate the postfix notation from the (a) and show all the steps by using stack configuration. Given the values of the variables are M = 7, N= 3, P = 4, Q=12, R = 6, S = 5, T=2. (7 marks)