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

Which type of speech did Lyndon b. Johnson deliver on March 15, 1965?
What are two non living things, cheetahs interact with?
The Boers left Cape Colony to begin what two states?
What is another word for stanza?
Volunteering for a political candidate's campaign is a good way to learn more about politics.
Where the Andes is located? a. North America c. América Central b. South America d. North America
What led to the creation of complex societies? A. the advent of farming B. the reluctance to stay in one place C. the beginning of hunting and gathering D. the
Which of the following foods does not support bacteria growth? Cooked rice Raw carrots Saut ed onions Re-fried beans
The erosive force of _________ is particularly powerful in deserts. a. wind b. glaciers c. moving water d. human actions
i need help with these kinds of questions..