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

Point Q is located on the coordinate grid at (− − 9.73, −3.32). In which quadrant is point Q located?
Someone help, please and thank you
Having trouble with this, help please? I will give brainliest.
Find the value of x.
15 dollars a hour spends 25 dollars a day. Write an expresstion of his earnings in a day?
Mato is making a leather belt inlaid with beads. On the first day there were b beads on the belt. On the fourth day, there were b³ beads on the same belt. Ther
Find the lateral surface area and surface area of a cone with a base radius of 4cm and a slant height of 10cm.
(x+3)(x+2)=0 which technique is most appropriate to use to solve each equation? A. Zero product property B. quadratic formula C. square root property
Use log 2=a, log 3=b to evaluate log 216
Is the moment of inertia of a body is unique? Give reason to your answer.