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

find the missing number to get a mean of 32 39,28,33,36,25, -----
The first step in sensation for some sensory systems is the __________, which modify incoming stimuli
Which Greek order is the simplest?
during what stage of the cell cycle does replication occur
A jar is filled with red, blue, and green marbles. Half of the marbles are red. One third of the marbles are blue. One sixth of the marbles are green. What frac
The streets in Sachi's city are arranged in square blocks. Sachi left her house and walked 5 blocks east and 2 blocks north to Jim's house. She and Jim walked 1
a number minus one is at the most nine, or two times the number is at least twenty-four.
Read the quotation from chapter 5 of The Adventures of Huckleberry Finn. “Well, I'll learn her how to meddle. And looky here—you drop that school, you hear? I'l
Can someone help me write a poem about relationships including poetic devices ?
Where does the heat from your body comes from?