4
AssignmentMultiple Choice

Loops–Practice with the While Loop

Question 4 • ASC Programming, Games, Apps and Society

What does “++” do to a variable?

Answer
A
It increases the value of the variable by a given number.
B
It increases the value of the variable by 1.
C
It decreases the value of the variable by 1.
D
It adds the value of the variable to the counter.
Previous
Next
What does “++” do to a variable?