Click on one of our programs below to get started!
Assigning to a variable is updating the variable's value.
int num = 4; // This initializes num with the starting value of 4
num = 10; // This assigns a new value, 10, to num
num = 0; // This assigns a new value, 0, to num