मराठी

Convert the following infix notation to postfix form. (A − B / C) + (D * E / F) * G - Computer Science (Theory)

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
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2024-2025 (March) Official Board
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×