infix to postfix -8
Example 29: (a AND b) OR (NOT c AND d) Read ‘(‘ and push onto stack: Stack = ( Read ‘a’ and add to output: Output = a Read ‘AND’ and push onto stack: Stack = (, AND Read ‘b’ and add to output: Output = ab Read ‘)’ and pop operators until ‘(‘: Output …