(a)
if (x == 5) { // Loop on j here for (j = 0; j < Index; j++) printf("x = %i", j); } else while (i < 5) i++;
(b)
CONDITIONAL_BEGIN LOOP_BEGIN DISPLAY LOOP_END CONDITIONAL_END CONDITIONAL_BEGIN LOOP_BEGIN ARITHMETIC LOOP_END CONDITIONAL_END
Figure 1: Token substitution. (a) Original program; (b) program structure profile.