LitMorgiua LitMorgiua
  • 07-03-2017
  • Computers and Technology
contestada

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 :

jiayangchang
jiayangchang jiayangchang
  • 07-03-2017
total += amount

If your language does not support that, just use

total = total + amount
Answer Link

Otras preguntas

Which phrase accurately describes the term industrial revolution? A. a system of tariffs that restricts firms from selling products in other countries B. a labo
What is the greatest common factor of 14 and 35
What goes into 60 and 19
Why do so many meteoroids strike mercury's surface
What goes into 60 and 19
Find a number that is 15 more than 4 times its opposite
What is 25 percent of 84
Which phrase accurately describes the term industrial revolution? A. a system of tariffs that restricts firms from selling products in other countries B. a labo
Mike has 3 nickels, 3 dimes, and 2 quarters. what fraction of the coins are dimes.?What fraction of the coins are quarters?
what is the difference between -2^2 and (-2)^2