Question: Variable and assignment basics A program uses a variable to remember values as the program executes instructions. The activity below is a variation on a
Variable and assignment basics
A program uses a variable to remember values as the program executes instructions.
The activity below is a variation on a common childhood riddle.
PARTICIPATION
ACTIVITY
: People on bus.
For each step, update the numPeople box to match the number of people on the bus.
tableYou are driving a bus.The bus starts with people.tableemory
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
