1. The problem statement, all variables and given/known data I have a question regarding IF statements. Here's an algorithm: put on hat ; IF (weather is sunny) Put on sunglasses ; ENDIF Put on shoes ; What items of clothing will be put on a) when it is raining and b) when it is sunny? 2. Relevant equations 3. The attempt at a solution a) hat, shoes. b) sunglasses, hat, shoes. What i want to know is: if its raining then obviously i put on a hat and shoes. Now if it's sunny (like indicated in the IF statement), then not only i wear sunglasses, but hat and shoes as well?