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

which type of metabolism might bacteria, that clean oil off of Beaches, use
What is occurring when you buy a united states savings bond? you are paying for your child's college education. you are borrowing money from a savings and loan
Lack of water may prevent construction of a geothermal energy facility in a particular area because
Jack pulls a sled across a level field by exerting a force of 110 n at an angle of 30 with the ground. what are the parallel and perpendicular components, respe
which word means "to grow back"? A. millipede B. regenerate C. plentiful D. pedestrian please help
What did Abraham Lincoln believe about slavery? The Union had to become either all free or all slave. Slavery was becoming less common, even in the South. Slave
2. During the first stage of the writing process, you must define your _______, _______, and _______.
La entre medios públicos y privados, propone una “reinvención de la propiedad pública que implique la creación de nuevas formas de vida pública más allá del est
Prolonged exposure to stress can affect the body and work away
Please help me with this question