nite owl
November 11th, 2007, 05:20 AM
Hi wasn't to sure where to post this question, but if anyone can just tell me whether I am right or wrong with this itd be great. Basically given and expression:
(A + B) * C - (B * D - E)
The expression tree I worked out is:
-
/ \
x -
/ \ / \
C + E x
/ \ / \
A B B D
.......edit: sorry I just cant seem to get the branches etc... lined up right when I submit..
(A + B) * C - (B * D - E)
The expression tree I worked out is:
-
/ \
x -
/ \ / \
C + E x
/ \ / \
A B B D
.......edit: sorry I just cant seem to get the branches etc... lined up right when I submit..