Computer Science, asked by addankiarjunkumar, 7 months ago

Evaluate the following postfix notation
A: 6, 9, 2+ * 12,3/-​

Answers

Answered by sowmyarayudu934
0

the operators that store in stack after performing the operations

2 3

9 9 11 12 4

6 6 6 6 66 66 62

assume it as it it stored in stack

Answered by ishwaryam062001
0

Answer:

Answer : 6, 9, 2 12,3 * / + ​ -

Explanation:

From the above question,

Postfix is a notation for expressing mathematical expressions and directions in a programming language. Postfix notation is additionally known as reverse Polish notation (RPN), named after its Polish inventor Jan Lukasiewicz.

In postfix notation, the operators appear after their operands. For example, in infix notation (the notation we're most acquainted with), the expression "3 + 4" would be written as "3 four +" in postfix notation. Similarly, the expression "(2 + 3) * 4" would be written as "2 three + four *" in postfix notation.

Postfix notation is regularly used in laptop applications due to the fact it eliminates the want for parentheses and operator priority rules. It additionally makes it less complicated to parse expressions and can lead to greater environment friendly implementations.

There are many programming languages that guide postfix notation, consisting of Forth, PostScript, and some variations of the R programming language.

Hence,

   The correct postfix notation is 6, 9, 2+ * 12,3/-

For more such related questions : https://brainly.in/question/19814387

#SPJ3

Similar questions