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

Passover is celebrated of the jewels Exodus from slavery in ___​
can you guys help me with this please thanks
Why did our founding fathers not eliminate slavery when writing the Constitution?
BRAINLIEST TO CORRECT ANSWER!!!!
3. State the relative compass direction that the Pacific plate is moving
LifeCharge Batteries claims that their batteries last an average of 210 hours when used in a hand held gaming system, with a standard deviation of about 9 hours
What is one cause of water scarcity in South Asia?
Which of the following options have the same value as 96% of 25?
Zaira has a flower garden outside her house. She plants 12 flowers and waits for them to grow. Of those flowers, 2/6 of them are yellow. How many of Zaira's fl
Uh do yall know the coordinates im supposed to put for the last one