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

What is the answer to 6y+12=3y-3
the energy stored in gasoline is??
Nucleic acids are composed of monomers called a. ribose. b. base pairs. c. amino acids. d. nucleotides.
Simplify the radical expression by rationalizing the denominator. 4 divided by the square root of 21.
round 141.999 to the nearest tenth
Cardiovascular health is not influenced by "bad" cholesterol (Low-Density Lipids). a. True b. False? User: Hypertension occurs when blood pressure is too high.
arange 8.508 8.58 7.5 7.058 in decreasing order
True or False: A flame test can be used to identify the presence of certain elements in a compound?
How much would a 185 pound person weigh in the moon
mr.white can travel for 6 hours while taking 3 breaks of 10 mins each once he had to travel for 36 hours how many minutes in breaks did he take