Lab #7 - Task 1

Stephan Knotek

Task 1 - if Statement

  1. Designate a variable for shirt color and make the value blue.
  2. Write an if statement for the following:
    If the shirt color is equal to the string "blue" then display "Your shirt is blue."

(Hint: Be sure to wrap the line you are displaying in paragraph tags, or use a line break or horizontal rule at the end of each line or everything will run together.)

Your shirt is blue