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

classify each orbital diagram for ground-state electron configurations by the rule or principle it violates.
what language did jesus speak
if the light completed the 71.0-km round trip in the time it took the mirror to complete one-eighth of a revolution, what is the speed of light?
when does the umbilical cord develop
what is the correct definition of suffrage
What can BEST be concluded from the information in this chart? A) East Asia is the poorest region in the world. B) Latin American education is
The rules and conventions governing correct or polite behavior and communication are called
sexually transmitted diseases
why do we celebrate easter
The author of "Code Talkers” supports the idea that the code talkers were essential to America’s war effort by illustrating why the code talkers chose to help t