yoxiqy yoxiqy
  • 10-09-2017
  • Computers and Technology
contestada

Suppose that sum is an int variable. The statement sum += 7; is equivalent to the statement sum = sum + 7;

Respuesta :

kaevras
kaevras kaevras
  • 10-09-2017
That's correct.

Same goes for -=  *=  and  /=

It essentially just means "Do this, to this variable".


sum += 7  "Add 7 to sum"
result *= 10  "Multiply result by 10"
So on, and so forth.
Answer Link

Otras preguntas

What is a submersible? What type of recording devices might be found aboard a submersible?
Help plz due tomorrow!!!!!!!
help plz .......... :(((((
How much land surface does the rainforest cover?
3/8 + n = 7/8. Pls help
Can someone please give me step by step using pemdas I will give I brilliant
5. Write an equation of the line that passes through points (2, 3) and (4,5).
السماء مضية باليوم الساطعة. اعراب كلمة (الساطعة) هي
(xy + 1) ÷ 7 if x=5 and y=11 please help (︶^︶)
The point (-5, 10) undergoes a translation of 10 units right and 5 units down. What are the coordinates of the new point?