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?...Multiply out and simplify 10(2x-1)-20x?
Mini-Project: Cents and the Central Limit Theorem 1. Collect a sample of at least 50 pennies by setting aside all the pennies you receive in change for severa
The function of the eardrum in the middle ear is to
what's another word for over thinking?
what is a high structure part of a church which has 5 letters
What is the least common denominator for 5/6 and 3/8. 3/4 and 6/7
Why is sodium sulphate hemihydrate called as "Plaster of Paris"?
how do you write 4540 million in standard form?
What is the amplitude of y=1/2 sin2x
you have a standard deck of 52 cards. you pick one card and then, with out putting the first card back, you pick a second card. what is the probability that bot