A translation scheme is shown as-
S → S1 + S2 {S.val = S1.val + S2.val}
| S1 * S2 {S.val = S1.val * S2.val}
| id {S.val = id}
Output for 3 * 2 + 4 is ______.
Enter numerical value using the virtual keypad. Round off where necessary.
A translation scheme is shown as-
S → S1 + S2 {S.val = S1.val + S2.val}
| S1 * S2 {S.val = S1.val * S2.val}
| id {S.val = id}
Output for 3 * 2 + 4 is ______.
Enter numerical value using the virtual keypad. Round off where necessary.