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

How did appeasment lead to hitletd?
Through: (1,5), perp. to y=-1/10x + 3 pls help
How did women's war efforts help expand their political rights?
With transcendentalism, what do writers and philosophers value instead of science?
Which process is not included in heterotrophic nutrition? *?
How many molecules are in 25g of Na2SO4? POINTS!! Please help! Im so frustrated.
Is it bad to go to sleep at about 9 or 10 and wake up at 6:30 to do something that you really dont need to do so early in the morning like video games or watchi
An artisan sells handmade journals. His products are successful. Based on the chart, what will happen next? (4 points)
Nicotinamide adenine dinucleotide (nad) _____________ question 35 options: transports oxygen in various metabolic pathways is another form of atp picks up and d
kay was walking along the bridge above the river. She accidentally lost her grip on her camera when she was trying to get it out to photograph massive bird nest