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

Hey, need some help reverent A. respectful B. respect C. reply D. to spoil
let f(x)=2x-3 and g(x)= -x^2-1 find ( g o f) (x)
take 2 identical bowls filled with water.shine a spotlight on one and place one away from the spotlight in the same room. which shows higher evaporation and why
A graph depicts force versus position. What represents the work done by the force over the given displacement? A. The work done is equal to the product of the m
I just need the equation on how to do it. I'm so lost :'( help please!!!!!!
What are the operation sines that make this statement correct? 3_5_7_18_3=14
take 2 identical bowls filled with water.shine a spotlight on one and place one away from the spotlight in the same room. which shows higher evaporation and why
Two diverging light rays, originating from the same point, have an angle of 5° between them. After the rays reflect from a plane mirror, what is the angle betwe
take 2 identical bowls filled with water.shine a spotlight on one and place one away from the spotlight in the same room. which shows higher evaporation and why
An ice cube is dropped into boiling water. How will heat flow between the water and the ice cube?