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

what is the volume of an area? what is a polynomial?
why did europeans feel superior to islam
what is the percent notation for 6.4%
Three friends go bowling the cost per person per game is $ 5.30 the cost to rent shoes is $ 2.50 per person.Their total cost is $ 55.20 how many games did they
What energy is transfomed that takes place you lifting a chair?
During a recent winter, the ratio of deer to foxes was 7 to 3 in a town. If there was 210 foxes in the town, what was the number of deer in the town?
what two developments in the late 1800s led to the decline of the cattle business ?
You are given an aqueous solution of NaCl. The simplest method for the separation of NaCl from the solution is (A) evaporation of the solution to dryness (B) c
How does latitude affect climate
During a recent winter, the ratio of deer to foxes was 7 to 3 in a town. If there was 210 foxes in the town, what was the number of deer in the town?