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

Find+the+z-scores+that+separate+the+middle+69%+of+the+distribution+from+the+area+in+the+tails+of+the+standard+normal+distribution
Can someone check my answers please
Find the area of the trapezoid
The sum of two numbers is 24. Two times the first number minus the second number is 21
Of the following anatomical structures, which is homologous to the bones in the wing of a bird?
Hostoso In a survey, 250 adults and children were asked whether they know how to swim. The survey data are shown in the relative frequency table Can www Carwin
A 2,000 piece puzzle is in the shape of a trapezoid. The lengths of the bases are 7012 and 6512 inches long. The area of the puzzle is 1,224 square inches. What
Rewrite the following sentence and add commas in the appropriate places! The first time I visited my dream college I could not believe that the teachers student
a girl walks 2 meters north 4 meters west and 2 meters south her final displacement is:
Giving BrainliestA spy realizes his cover is blown and flees toward his secret evacuation spot at a speed of 60 mph. Two hours later, a special agent in a helic