Fix the Random


Goal:

Find a bug in a random number program that someone else coded.

Steps:

  1. This program is supposed to get a random number between 5 and 10 and print a different word for each number to the console:
    SIX
    FIVE
    NINE
    EIGHT
    TEN
    SEVEN

    BUT it's not working. If you don't believe me, try running it.
  2. Change one line of code to fix this program.