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

How can 8.34… be written in the form a/b where a and b are integers?
Why would a producer conduct a marginal analysis? A. To understand the type of taxes paid on a good or service B. To determine whether a price increase will cha
how can you find the reading of main scale and vernier scale​
a kite is 50 m high when 200 m of sting is let out. what angle does the kite string make with the ground to the nearest tenth of a degree?the angle between the
What do the words the doctor speaks to Cordelia reveal about King Lear?
Find the surface area of the cube.
Joshua is researching diabetes treatments online. Which criteria indicate that the provider of this information is likely a reliable source
ratio of a rectangle's length to its width is 4:7. If the longer side is 31.5in., find the width, the perimeter, and the area of this rectangle.
find GCF of 40 and 120​
Write an essay on a formal debate anything Pleaseee helpp