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

One gram of fiber provides how many calories? Group of answer choices Zero One Four Nine
which off the fallowing defines entrepreneurship​
When a mosquito bites you, you are the __________ and the mosquito is the ____________.
What does intelligence is the torch of wisdom mean.
I need help The destruction of the Berlin Wall was symbolic of: 1)the end of Communism in Eastern Europe. 2)the decolonization of the non-Western world. 3)coop
Please help me!!!!!!!!!!
what is the invers function of f(x)=(n+1)^3?
Consider the the first six terms in the sequence 10, 29, 48, 67, 86, 105... Which statements are correct?
Why is Venus the planet of beauty, love, and luxury?.
What is located between the left atrium and left ventricle?