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

If a - 3= 7, then 2a - 14 =
Compare the various effects that alcohol has on the mind and body at two different blood alcohol concentrations.
From where did the first novel originate?
How does a Retinal Scan Work?
1. What are the next three terms in the sequence?-1 ,9 ,19 ,29 . . .A. 38, 37, 32B. 40, 51, 62C. 39, 49 , 59D. 38, 47, 562. What are the next three terms of the
you are planting a rectangle garden. it is 5 feet longer than 3 times its width. the area of the garden is 250 feet. find the dimensions
What is Taurine? Please help :)
estimate for 412*5.904/0.195any one knw the estimate for this and how to work it out
What is the HCF of 2 x y and 6 x y?
How do I Stargaze? Please help :)