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

What is 1997 from 2014????????????
A flight instructor charges $50 per lesson, plus an additional fee for the use of his plane. The charge for the use of the plane varies directly with the square
Why does Louis XIV want to expand France's border?
Please I have the answers I just want to double check them and Solvekey: B=42  A=93  N=29  X=361. (b-7)(2b-7)2. (4a-4)(5a-7)3. (5n-6)(4n+7)4. (2n=8)(8n+3)5. (6x
How many grandparents have my grandparents? who can solve it is very good on maths! it is just a lpgic problem! i know the answer :)
what is the kingdom and phylum of a euglena protest?
what does etymology study?
Suppose you ride your bicycle to the library traveling at 0.5 km/min. It takes you 25 minutes to get to 1.3 the library. How far did you travel?
A tree was chopped down and cut up in a local forest.The tree changed in shape.What kind of change took place?A.chemical changeB.physical change C.phase changeD
What is 0.05 percent of 6.5?