Search for question
Question

Code given in Lab4 for counter 0-99 works, incrementing by 1 and by 2 for either Team A or B. A student noticed that when, for instance, the current count is 29, and you try to increment the count by 2, the new count is 30 and not 31 as expected.

Fig: 1

Fig: 2