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

change 35:14 to a decimal number
1. Usa el pretérito o el imperfecto. Mi hermana mayor se graduó de la escuela secundaria. Nuestros padres_____ de ella. (estar orgulloso)
which function below has the smallest slope? f(x) f(x) = 2x - 3
The Civil War freed the slaves and re-established the _________. Monarchy Union Second Continental Congress Confederation
please help asap6918
I need help solving this problem system of equations
The construction crew for a new house will dig a hole in the shape of a rectangular prism for the house's foundation. the hole will be 48ft long, 39ft wide, and
A skier skis CCW along a circular ski trail that has a radius of 1.9 km. She starts at the northern most point of the trail and travels at a constant speed, swe
As air is moved through a duct by a​ fan, friction between the air molecules and the sides of the duct creates a resistance to movement. Friction loss charts ar
Solve the following quadratic equation 5x^2+18x+9=0