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 solution to the equation in the photo!! Please help & show work I’m very lost...
Help me with this question please
what is the rescursive formula for this geometric sequence? 7, -14, 28, -56
change the direct object puedes rentar una pelicula para mi antes de volver a casa
The graph shows the distance y, in inches, a pendulum moves to the right (positive displacement) and to the left (negative displacement), for a given number of
In Egypt, about 50 percent of the population lives in the Nile Valley. True False
What’s woods flexiblity (?/10)
how wheienwnw wjwjwbwnw whwjwbwbwb
what is the common denominator for 3/5+3/4
If ΔMTV is reflected across the y-axis, what are the resulting coordinates of point M? A) (-2, 5) B) (-5, 2) C) (5, -2) D) (-2, -5)