English

Draw the tree structure for the following expression: Y = (A + B)/[(C * D + E)] - Computer Science 1

Advertisements
Advertisements

Question

Draw the tree structure for the following expression:

Y = (A + B)/[(C * D + E)]

Diagram
Advertisements

Solution

Expression without assignment

(A + B)/(C ∗ D + E) 

Main operator = /
Left subtree = A + B
Right subtree = (C * D + E)

Expression Tree Diagram:

shaalaa.com
  Is there an error in this question or solution?
2024-2025 (July) Official Board Paper

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×