These steps use two variables, total and count, that change as the loop runs. In these steps, "Add count to total" changes only total.
- Set total to 0.
- Set count to 1.
- Repeat 6 times, doing both actions each time: add count to total, then add 1 to count.
What is the value of total after the loop in step 3 is finished?
Enter a number.