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

6,435,920,178 in expanded form
What is two added to double a number in algebraic expression
what property describes the number sentence 6+0=6
what is the greatest common factor of 42 and 90 and 81
6,435,920,178 in expanded form
How did the growth of the rail networks affect the meatpacking industry? (a)The meatpacking industry shrank because the demand for other natural resources incre
What do the three references to slavery in the Constitution touch on?
49,254 find value of 9
A yard fabric costs $12.99. How much will 2 feet cost?
the rule that applies to the following number sentence 0÷7=0