Make It Count


Goal:

Find a bug in a for loop that someone else coded.

Steps:

  1. This program is supposed to print:
    1
    2
    3

    to the console BUT it's not working. If you don't believe me, try running it.
  2. Change one line of code to fix this program. DO NOT ADD ANY EXTRA LINES OF CODE.