- What is the difference between and if and and if-else statement?
If-else gives you more obtions for complex programming.
- Is there a simpler way to write the following code? Explain.
Create two seperate Events. Seperate the if-else statemnet and place one on each.
- 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…”
Student that is not a Senior. Students must have either a band or on a soccer team.
- 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…”
All students who have a soccer team or band.
- Write the condition for a number being a multiple of 15.