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

Identify the perimeter of the figure.
what is square root of 49 over square root of 1250 simplified
Start with the number 2380. Divide by 10, The 8 will end up in the _____ place.
If a = 4 -√15, find a^4 + 1/a^4 Please answer this question with correct steps. I will mark brainliest
Between 1820 and 1860 ,the political party that opposed immigration the most was known as the ____ a. Whigs b. Nativists c. Nationalists d. Loyalists Please sel
Math models helpppp plss if you know about math models answer this pls
QI the father 13. A father and mother claim they have been given the wrong baby at the hospital. Both parents are blood type A. The baby they have been given is
Why does the weight of a body differ on different celestial bodies of the universe?​
What is 3 times 10^9
Step by step plz on how to do this