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

I need to know the answer to this screenshot
Which polynomial represents the sum below? (-x4 + 4x3 + 1) + (4x3 + x + 2) A. -x4 + 4x6 + x + 3 B. x8 + 8x7 + x + 3 C. -x7 + 8x6 + x + 7 D. -x4 + 8x
7. A student can type 174 words in 3 min and 348 words in 6 mon. how many words can the student type in 8 min? A) 378 B) 464 C) 484 D) 524
Which of the following best describes the concept behind Web 2.0
Find the center and radius for the circle, given the equation: x^2-14x+y^2+8=16
If a sales rep earns $12 per hour plus $15 per unit sold, how much will he have earned after 20 hours and 15 units sold? $420 $435 $450 $465 skip
Scroll over to asia and locate the java trench. this is where the indian plate and eurasian plate interact. what kind of plate interaction occurs here, that was
Write out three different search phrases you could use to find information about technology on the internet.
NEED HELP ASAP!! What is the value of 5 + 3x when x = 4? A.12 B.17 C.32 D.86
32,005,000 in scientific notation