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

Joe has 175cm and john has 1.7m of rope who's rope is longest explain your thinking
Why might the civilian conservation corps have employed only males?
Why did people choose to settle the plymouth colony?
4a-9=3 a what is the solution of a
montel sold 13 popcorn buckets and 13 fruit basket for a fundraiser .the fruit basket cost 20.75 each . if montel rasised a total pf 468.00 how much did each p
1. The sales tax in New York is 8.25%. How much will an $83.99 jacket cost, including sales tax? 2. Harriet paid $349.65 for 7 fruit trees. If each of the trees
Write a dialogue on what can an ordinary citizen can do to save environment?
@SENPAITRILL Please help
Can someone please explain the difference between DNA and RNA and mRNA, worth 1️⃣5️⃣ points
How can the value of the slope between any two points on a straight line be described