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

[Genocide is the] criminal intent to destroy or to cripple permanently a human group. The acts are directed against groups as such, and individuals are select
Be prepared for any interviewing emergencies by bringing an interview survival pack. t/f
Read the sentence. We loved our new bunk beds. What is the subject? We beds loved, beds loved Is it "beds"
What does the atomic mass describe? a. The mass of the protons in the atom b. The mass of the nucleus of the atom c. The mass of the neutrons in the atom d.
Select the appropriate word to complete the following sentence. The secretarial tasks are divided _______ several people. a. through b. between c. of d. amo
Which of the following features are NOT known to be caused by plate tectonics? A. Soil fertilization B. Reverse faults C. Rift valleys D. Normal faults
who was cleopatras husband
MobileQuizStar.com Question 9/10 level 1 answer
The many reports, which have been industriously propagated to the disadvantage of the Colony of Georgia, call for an enquiry into the reasons and validity of
Which of the following is a historic novel? The Power of Sympathy Memoirs of the Bloomergrove Family The Female American Charlotte Temple