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

Please help!!!!!! ASAP!!!!!!!!!!!!!!!! No links!!!!!!! Please!!!!And thank you
Question 8.Paying attention is part of listening.A. True B. False​
Choose all options that apply. Which of the following are equal to 20%? | a) .25 b) 1/5 Oc) 1/10 d) .20
hjnhuhuh7uyh7gyv7gy7h7yhy7h n jnjln njnkno]
Question 6 Which is the graph of y=x-3? = X-
what are the stylistic / rhetorical devices used in sir roger at church ?
help me por favor hahaha loflsdakfjldaks jk help pls.
2. Where are the trade winds found? ? 1. near the middle latitudes 2. near the tropical regions 3. near the poles between 4. 30 and 35 degree latitudes​
What is the fibrous cartilage between vertebrae that cushions and absorbs shock?
Select ALL the correct answers. Which two reasons did the Senate cite when rejecting the Treaty of Versailles? Wilson refused to supportius entry into the Leagu