Validation



Goal:

Use a Random object to generate random integers so your code can generate random compliments.

Steps:

  1. Create a Random object.
  2. Generate a random number between 0 and 4.
  3. Map each value (0-4) to a unique compliment.
  4. Print a random compliment 10 times (using a loop)
  5. Test your code and receive some compliments.