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

What stage of the general adaptation syndrome (gas) corresponds to the sympathetic adrenal medullary (sam) system?
what is the chemical formula for calcium hydroxide
Which part of "The Monkey's Paw" would be considered part of the story's falling action? A. Mr. White makes his third wish on the monkey's paw to return his
Your task is to mentally design a toy suitable for a 2-6 year-old child, keeping in mind the physical, cognitive and social needs for preschool children. 1-.wha
How do I find the answer to m
Help only one question in math.
Which specimen would best be viewed using a compound light microscope? a. cork cell b. carbon atom c. dna molecule d. sugar molecule
Which best explains the relationship between evaporation and temperature? a) A liquid evaporates slower at lower temperatures because the molecules are more spr
the height, length, and period of a wave comprise the___?
PZLZ help with number 1