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

Which of the following would be a negative outcome of the British governing of India? a. The British encouraged the Indians to join the military. b. The Briti
the invisible line at 0 degrees latitude is called
What is (d plus 3) plus 8 simplified?
Which reform to the American education system began in the early nineteenth century? a. typing classes b. women's colleges c. magnet schools for science d.
What would be the magnification of a specimen viewed with a compound light microscope that has an objective power of 40x and an ocular lens power of 10x?
6.48> 6.4_1> 6.470 whats the unknown digit to make the statement true
graph the function f(x)=(x+1)(x-2)
Explain how the geography if Indian subcontinent contributed to the movement of people and ideas
Where is most of earths carbon and sulfur
What times what equals 15