Show the annotated parse tree and evaluate the expression using syntax directed translation (top-down or bottom-up)
a. L -> En {L.val = E.val}
b. E -> E1 + T {E.val = E1.val + T.val}
c. E -> T {E.val = T.val}
d. T -> T1 * F {T.val = T1.val * F.val}
e. T -> F {T.val = F.val}
f. F -> id {F.val = id.lexical_value}

E1. valuate for input 3*5+4



Answer :