Consider the following schema shown below:
Here ‘num’ is a token that represents an integer and num.val represents the corresponding integer value. For an input string ‘2 + 3 + 7 × 5 $’ this translation schema will print:
a:) 2 3 × × 7 5 + $
b:) 2 3 + 7 + 5 × $
c:) 2 3 × 7 5 + × $
d:) × × + 2 3 7 5
I am not able to generate any option.Please verify?