Write a statement that increments the value of the int variable total by the value of the int variable amount. That is, add the value of amount to total and assign the result to total.
LANGUAGE: Visual Basic
CHALLENGE:
Write a statement that increments the value of the int variable total by the value of the int variable amount.
That is, add the value of amount to total and assign the result to total.
SOLUTION:
total += amount