What is the polish notation of the given infix expression? (A * B + C) / (E − F * G)
What is the polish notation of the given infix expression?
(A * B + C) / (E − F * G)
Show answerHide answer
Correct answer: (B) /+* ABC-E*FG
Explanation
Polish notation is prefix notation. (A*B + C) becomes +*ABC and (E − F*G) becomes −E*FG. Dividing the first by the second gives /+*ABC−E*FG.