Lesson 7:Â Variables as Score
Use a conditional statement to check for a winning score
Use a variable that stores information and changes over time
Condition - A statement that a program checks to see if it is true or false. If true, an action is taken. Otherwise, the action is ignored.
Conditionals - Statements that only run under certain conditions.
Variable - Variables store information (data). The value stored in a variable can be updated throughout a program.
Lesson 7: Variables as Score (Responses)***Use your Dashboard to change lessons***