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 does it mean when it says technology is A dynamic process
g(x) = 3(x − 2), find the value of x if g(x) = 6.
As civilization became more complex. their global interactions increased False True
how do i do this? i’m not the best at math like this please help it’s due today!
why there is crisis of of drinking water although there is store of water source in country ? explan​
simplify 8 square root 45 plus 2 square root 50 minus 3 square root 147​
Which of the following would be the best learning outcome for a nutrition activity? A. Children will know about nutrition B. The teacher will model a healthy lu
how to have identical twins, one is a girl and the other is a boy
What is the simplified value of the expression below? 8.5 + (12 + 4) times 2 minus 7
Please help! File attached to this​