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

How do you find a polynomial function with real coefficients that has the given zeroes? 5, i
The text below contains 4 verb tense errors. Correct them
Bryan wants to put a fence around his rectangular garden. His garden measures 48 feet by 53 feet. The garden has a path around it that is 3 feet wide. How much
Please help. 50 points I with send you another 50 points for answers. Short story How my dog ate my retainer. 100% fiction. just main plot does not have to have
What role did the Powhatan play in the founding of Jamestown? They attacked the settlement, making it difficult for the colonists to thrive. They taught the col
WILL GIVE BRAINLEST TO WHOEVER ANSWERS THXS <3
4 Millimeters decrease to 3 millimeters what's the percent of decrease
3 facts about Haiti in the 1700s
if the children in a family took control from their parents of the grocery shopping, how would the family's provisions be diferent?
What is 402,067 divided by 67 equal