Consider the following SDT:
C -> C+S {C.val= __________(1)}
C -> S {C.val=S.val}
S -> S*E {S.val=__________(2)}
S -> E {S.val=E.val}
E ->id {E.val=id.num}
What is the missing translation (1) and (2), if the string "2 * 3 + 5 * 3 + 1 * 3" produces 160 instead of 24?
# * means multiplication #