answersLogoWhite

0

q ß q - 1

S[q] ß V[m]

Else if V[m] is an operator then push it into the operator stack. 6. Ignore Right parenthesis. 7. If the V[m] is a Left parenthesis than

pop operator1 from the operator stack :

operator1 ß operator at top of operator stack

q ß q - 1

S[q] ß operater1

End if

  1. The postfix notation is found in the vector S and is of length (n+1)/2
User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Convert infix to prefix to postfix?

(a + b) * c / ((x - y) * z)


Program to convert infix to prefix?

I dont have the idea about the program but I know that prefix means the first starting letters of a particular things. I really think so there is a progam to convert infix to prefix but i might have misunderstood your question can you make it little simpler please.


What are the three kinds of affixes?

Prefix, suffix and infix


Which data structure convert logical to physical address?

Linear data structure is used to convert the logical address to physical address .Stack is used in this and the various conversion such as postfix,prefix and infix notation are come in this


Which data structure is needed to convert infix notations to post fix notations?

stack is the basic data structure needed to convert infix notation to postfix


Prefix suffix and infix examples with meaning and word definition?

An example of a prefix in the English language is pre, meaning before. An example of a suffix would be ing, meaning a verbal action. An example of an infix would be ful, meaning full of.


What is prefix expression?

Example: prefix: * 2 + 3 4 infix: 2 * (3+4) postfix: 2 3 4 + *


Who invented postfix and infix?

infix: old Egyptians/Assirs some thousands year before prefix: Jan Łukasiewicz (Polish Notation) postfix: Burks, Warren, and Wright (Reverse Polish Notation)


What are the prefixes and suffixes in punctual compared to the prefixes and suffixes in punctilitous?

The prefix in "punctual" is "pun-" and the suffix is "-ual". In "punctilious", the prefix is "pun-", the infix is "-ctil-", and the suffix is "-ious".


What are the five kinds of affixes?

Suffix, prefix, infix, and i don't know the fourth and fifth. Source: Language Power 5


Why you need convert a expression into postfix expression?

You convert an (infix) expression into a postfix expression as part of the process of generating code to evaluate that expression.


Write an algorithm in c to convert an infix expression to a postfix expressionexecute your algorithm with the following infix expression as your input. m nk pgh a bc?

An algorithm can not be written with the following infix expression without knowing what the expression is. Once this information is included a person will be able to know how to write the algorithm.