Magic 8 Ball



Goal:

Use a Random object to generate random integers so your code can generate random messages from the Magic 8 Ball.

Steps:

  1. Create a Random object.
  2. Generate a random number between 0 and 3.
  3. Map each value (0-3) to a unique message.
  4. Test your code and receive some magic answers from the 8 ball.