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 an equivalent expression without parentheses -(50x-15y+15)=
Can someone use the word delta in a sentence
Marika and Freddy sold 70 homes for Ron Realty. If Marika sold 2.5 times as many homes as Freddy, how many homes did each sell?
How were life forms affected by the rise in atmospheric oxygen levels that began 2.2 billion years ago?
find an equivalent expression without parentheses -(50x-15y+15)=
Which equation has the same y-intercept as y=4x-3?a. y-3=x              b. y=8x+3    c. 3-y=4x      d. y=-3+8xWhich of the following is the equation of the line
Find Domain of the functionsquare root of (x-8)/x(x-9)
How is it possible for Mercury to have frozen ice ?
find an equivalent expression without parentheses -(50x-15y+15)=
How is it possible for Mercury to have frozen ice ?