Scratch Lab 61
Problem #3 - Spelling Bee
Click here for Link
Problem #4 - Rock, Paper, Scissors
Click here for Link
Questions and Answers:
- An "if" statement only makes something happen "if" a certain condition occurs, while an "if-else" statement also applies if that condition does not occur and then something else happens.
- You can code it to move 10 steps no matter what since it is supposed to move 10 steps under both conditions, then put in a simple "if statement" for the mouse=0 condition.
- All the juniors, sophmores or freshmen who are on a soccer team and all grades students who are in a band.
- All the students who aren't seniors and all the students who are on a soccer team or in a band, no matter if they're seniors or not.
- Put 15 and a number into the "mod" operator, which checks for you if 15 is divisible by the number. Then put the "mod" into an "if-else" statement, if the number is a multiple of 15, the if statement will be true, if its not the statement will be false and therefore carryout the "else" condition.
Click
HERE to return to homepage.