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

based on the context to peer is to do which of the following 1.Talks 2.walks 3.look 4.fear
which of the following resources would not necessarily help you become more health literate? A your peers B the library C health -care providers D your parents
A flower bed is in the shape of a triangle, with a base of 15 feet and a height of 9 feet. What is the area of the flower bed?
what will this increase in the snake population most likely cause
what is a polynomial
what does a receptor protein do? a. allows one or a few specific molecules to pass across the membrane b. allows a specific molecule to bind to it because of it
you shall no longer take things at second or third hand, nor look through the eyes of the dead, nor feed on the spectres in books, you shall not look through my
what is a major difference between the poetry of emily dickinson and the poetry of walt whitman?
the probability of selecting a consonant from the letters of the alphabet is 21/26
1. The following is a parallelogram. Find x and y using the given information. AB DC AB =5x-2y DC = 4 AD = y BC =5-x