Robot Color Chooser


Goal:

Use if and else if statements to set a Robot's pen to a chosen color before drawing a shape.

Steps:

  1. Ask the user to choose a color.
  2. Set the Robot's pen to the chosen color.
  3. Have the Robot draw a shape.
  4. Repeat the above in a loop to test all the supported colors.
  5. Don't forget to use an else statement in case the user enters an unrecognized color.