Write a statement that increases 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.

Respuesta :

total += amount

If your language does not support that, just use

total = total + amount