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

______ in the atmosphere, like the glass panes in a greenhouse, lets in sunlight and trap the heat energy escaping from the Earth. As a result, the temperature
1/10x -2/3 - 4/5x - 1/6
WILL GIVE BRAINLIEST FOR A GOOD ANSWERyou will research the topic of acid rain on the following ideas . what acid rain is. . causes of acid rain. . effects of a
An equilateral triangle has lengths 3x +6, 5x , 5x . What is x?
Karina bought a townhouse for $199,900. She has a 30 year mortgage with a fixed rate of 5. 5%. Karina’s monthly payments are $998. 8. What percent of the purc
Which answer best defines employee benefits? Employee benefits are the total income you receive over your lifetime. Employee benefits include any education you
Solve the following in-equations and graph the solution on the number line
Which detail from the passage provides the best clue for the meaning of "moral injury"?
One example of ________ is the fact that a lawsuit filed by Washington against Nevada over river pollution goes directly before the Supreme Court.
Help please this is a very important question to me!! Will be very grateful for help!!