Advertisements
Advertisements
प्रश्न
Convert the following infix notation to postfix form.
(A − B / C) + (D * E / F) * G
लघु उत्तरीय
Advertisements
उत्तर
(A-B/C) + (D* E/F) *G = ABC/−GDEF/**+
Order of precedence according to BODMAS rules: *, /, and % have the same precedence, but the order of operation is left to right.
+, − Same precedence, but the order of *, /, % Same precedence, but the order of operation is left to right
+, − Same precedence, but the order of operation is right to left.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
