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

A model of a dinosaur skeleton was made using a scale of 1 in : 15 in in a museum. If the size of the dinosaur's tail in the model is 8 in, then find the actual
how many foood chans are there in the food web?
Which is the first siimple molcules of food produced during photosynthesis?
Omar took out a $20,000 loan for 146 days and was charged simple interest. The total interest he paid on the loan was $488.
critically evaluate the benefits of online petitioning so that the local government can take urgent action regarding service delivery
Una finca rectangular tiene un perímetro de 2500 metros ¿cuánto mide el largo y el ancho de la finca si su largo tiene 50 metros más que el doble de su ancho?
1. Explain what is meant by each of the marketing concepts, by completing the table below: Marketing concept Description Production Product Selling Societal
Sino ang mas malawak ang kapangyarihan sa sistemang monarkiya
Abigail was delivered by emergency caesarean section at only 25 weeks gestation. She was taken to the neonatal intensive care unit (NICU) where she was fed intr
WILL GIVE BRAINLIEST FOR QUICK ANSWERS!! I RATE WELL FOR GOOD ANSWERS!!