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’s 8.10+12 honest answer please
coining money is an example of what power
The arena has several triangular prisms that are used as advertising boards. They are to be filled with sand so they cannot easily be moved.  What is the volume
If y varies inversely as x, and y = 12 when x = 6, what is K, the variation constant? A. 2 B. 72 C. 144 D. 1/3
Identify the configurations around the double bonds in the compound below. selected bonds will be highlighted green. be sure that you select only double bonds.
"today we can type our symptoms into a computer search engine and often find out why we are sick, what condition we may have, and how we might treat it. but we
If the measurement of an angle is 13° find them the measure of it supplement
It’s almost time for Prom! You want to book a limo and are trying to figure out how much it will cost.  The limo company charges a flat rate of $200 plus $350 f
-5 -(-1) equals what?
what is the physical feature of the colony of new jersey