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

anyone want to play truth or dare with me​
Somos propensos a juzgarel éxito por el índice denuestros salarios o el tamañode nuestros automóviles,en lugar de por la calidadde nuestro servicio y larelación
How can you tell that a website is valid and reliable 10 points
How do you solve 9/x+2=2/9
(blank) is the participation in a conversation with another by means of repeating words and phrases or giving approving or disapproving nods. Active listening R
A dripping faucet wastes 3 cups of water in 24 hr. How much water is wasted in 56 hours?
How have human and enviroment have impacted settlements and spatial patterns?
name the property that If x=y, then 3x = 3y illustrates
A lake has an area of 63 800000 000 square metres. Write this area in square kilometres, correct to 2 significant figures.
PLZZ HELP, I WILL GIVE BRAINLIEST