147k views
4 votes
Which of the following infix expressions corresponds to the given postfix expression?

2 3 ^ 5 4 * / 10 +

A) 2 ^ 3 / (5 * 4) + 10
B) 2 ^ 3 / 5 * (4 + 10)
C) 2 ^ (3 / (5 * 4)) + 10
D) 2 ^ 3 / 5 * 4 + 10

2 Answers

5 votes

Answer:

D

Step-by-step explanation:

User Steven Berkovitz
by
4.8k points
6 votes

Answer:

D

Step-by-step explanation:

postfix expression first the operands will come after that operator

2 ^ 3 / 5 * 4 + 10 for this postfix is 2 3 ^ 5 4 * / 10 +

so the answer is D

User Bill Stidham
by
5.2k points