Infix to Postfix convertion

93 Views Asked by At

what is the correct way of writing the following infix expression in postfix form?

  1. $(A - C > T) $ OR $(G $ x $H \le B) $ AND $ F$
  2. $(Q+Z) < (N-M) $ AND $ (A+B) \le (S-X) $

as of the algorithm to convert i found the following to be the right conversion, but i could not find a way to check the if it's correct:

  1. $ (A C - T >) (G H $ x $ B \le) OR (F) $ AND
  2. $ (Q Z +) (N M -) < (A B +) (S X -) \le $ AND

is the solution i provided wrong and if yes what is the mistake i did?