patirots
patirots patirots
  • 04-02-2018
  • Computers and Technology
contestada

If you wanted to continuously add 5 to a count, how would you code it? Why do you prefer this method?

(from code.org)

Respuesta :

Аноним Аноним
  • 05-02-2018
The word is increment. If you wan to keep adding adding 5 to a count you are incrementing the count. There are a few ways to do it and it also depends on the language that is being used.

PHP
$count = $count + 5;
$count++

C / C++
int count = 0;
count++;

Python
count += 5
Answer Link

Otras preguntas

how do you find the area of a compound figure
a cylindrical container has a radius of 0.3 meter and a height of 0.75 meter the container is filled with kerosene. the density of kerosene is 815 kg/m^3 what i
Drag and drop an answer to each box to correctly explain the derivation of the formula for the volume of a pyramid.
two-piece plants with yellow peas are crossed most of their offspring have yellow piece but about 25% of The Offspring have green peas for pea color yellow is t
find the coefficient of Y^2 in the expansion of (2x+y)^3
Help asap will MARK AS BRAINIEST!
Please help me out if you can
Look at the map into different options with the country indicated on the map
Which composition of similarity transformations maps A LMN to AL'M'N'? a dilation with a scale factor less than 1 and then a reflection a dilation with a scale
what are some consequences of natural and man made disasters as it affects global trade?