maxito2873 maxito2873
  • 02-10-2017
  • Mathematics
contestada

Write a while loop that sums up the squares of the integers from 1 through 10.

Respuesta :

mathmate
mathmate mathmate
  • 02-10-2017
count=0;
sum=0;
while (count<10) {
  count++;
  sum+=count;
}
// result of summation is stored in variable sum
Answer Link

Otras preguntas

In ________ reinforcement, the person or animal is not reinforced every time a desired behavior is performed.
The way in which your emotions affect your physical and overall health is part of?
xp+yp=z. (ignore the period, any answers)
Five-year-old karen can't consciously recall any experiences of the first two years of her life. this best illustrates that
Line has the equation y = 1 3 x. Find the equation of the image of after a dilation with a scale factor of 1 2 , centered at the origin. A) y = 1 6 x B) y
during summer vacation, you charge people $8 per hour for swimming lessons and a $20 registration fee. if you make $52 one day, how many hours did you spend tea
If the unit selling price is 2.50 and the unit cost is 1.00 what action is needed to maintain the gross margin percentage when unit cost increase 0.25
tell whether the relationship is a proportional relationship. If so give the constant of porportionality
explain how the thermostat in your house uses a negative feedback system to maintain your home's temperature
Why were the railroad slow to develop in Oklahoma