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

5x + 3x = 83 help me please!
Write the equation of the following line in slope-intercept form. A. y=2/5 x + 4 B. y=5/2 x -10 C. y=2/5 x - 10 D. y=5/2 x +4
I need some help with this monomial.... 15a^16b^11/(3a^4b^2)^3
4. Each team in a youth soccer league pays $784 10 consists of 12 players and the fee is divided equally does each player pay? Show your work Answer
Jared is shopping for school supplies. The prices for pencils are listed in the table below. Pencil Prices Pack 3-pack 4-pack 5 pack 6-pack Price $0.27 $0.32 $0
The height of three students in the class are given below. Order the students from shortest to tallest.​ ​
how do you find MAD? please use an example if you can
Carrie buys 7/8 pound of red apples and 15/16 pound of green apples. Which answer is the most accurate estimate for how many more pounds of green apples she buy
Which kind of character is Marilla in Anne of Green Gables?dynamicroundstaticflat
How does the struggle for freedom change with history?Abraham lincoln second address