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

HELP-What is the value of x and y?A. 40°B. 50°C. 130°D. 140
which communist dictator seized power in cuba in 1959?
a brief explanation (or just whatever you may know) about Jews in Egypt, please and thank you
What is the value of xxx in the figure shown below?
please help.. no links​
Which option is a simple sentence? A. Unless you're lying, Eduardo is next. B. Children shouldn't curse, and I agree, C. He needs a ticket, but so does Jennifer
el tomate se introdujo a europa como planta ornamental
list the four theories of the moon´s formation. put a star by the theory that has been accepted
Which aspect of Dr. Williams’s life is emphasized in “Healing a Wounded Heart: Daniel Hale Williams” but not in “A Concise, Yet a Very Interesting Biographical
many 4's are there in 130 force are there in 130 ​