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

Element X has two isotopes. The table gives information about these isotopes. Isotope Atomic Mass (amu) Abundance (%) X-63 62.9296 69.
Hazards of earthquakes on land and and underwater! (20 points)
point P is located at (-2, 7), and point R is located at (1, 0). find the y value for the point Q that is located 2/3 the distance from point P to point R
Plexus help me ergent
The loss of muscle function in part of your body due to a disruption in the way messages pass between your brain and body is called
What is the 185th digit in the following pattern 12345678910111213141516
Use the vocabulary term "absolute value" to explain the term opposite as it pertains to positive and negative numbers. Explain why zero is the opposite of itsel
In which sentences is parallel structure used? (Select all that apply.) While making a necklace for her daughter, Sharon strung sparkly beads, added heart char
What does a tda response include
A blackhead is an accumulation of oily material produced by what?