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 are ten american triebs
The specific temperature at which a substance changes from a liquid to a gas is an example of a
Can someone tell me what is a Genre?
Is There Still Slavery in the World? Please help me :)
Subtract: 6lb 4oz - 2lb 10oz
What are the essential 4 parts for a civilization to develop? Explain how rivers were the source of civilization?
if a sample of magnesium has a mass of 60 g, how many moles of magnesium does the sample contain
solve for y.try factoring first,if factoring is not possible or difficult use quadratic formula,(y2  2isabovey -10y+23=0)
Solve the equation: 1/4 + w = 6 1/3
What Should I Know About Nigeria?