1. What is the difference between and if and and if-else statement?
2. Is there a simpler way to write the following code? Explain.
3. Which students are described by the following conditional? “if you are not a Senior and you are on the soccer team or you are in band then…”
4. If the statement from Question 3 is changed as shown below, who else is included in the condition? “if you are not a Senior OR you are on the soccer team or you are in band then…”
5. Write the condition for a number being a multiple of 15. (hint: look at the mod block).
Click HERE to return to homepage.