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

If w = 10 units, x= 5 units, and y= 6 units, what is the surface area of the figure?
The release of stored heat when water freezes is called A) cold fusion B) specific heat C) radiative heat D) latent heat E) sublimation
Given circle 0 and m
An AC source operating at 59 Hz with a maximum voltage of 170 V is connected in series with a resistor (R = 1.2 kΩ) and an inductor (L = 2.4 H). (a) What is the
Delineate three of the anatomical features of bipedality associated with the ancestry of modern humans. Be sure to provide the complete features and functions o
Ferns are used: A. by florists to augment bouquets B. for medicinal purposes C. as fertilizers in rice paddies. D. as food in many different places across th
Please describe Hammurabi’s Empire (The Babylonian Empire). A good answer should tell me how he was able to conquer the region, what he did after to conquer the
What is the domain of the function is this table
Which organelle is found in both eukaryotic cells and prokaryotic cells: a. Golgi apparatus b. Nucleolus c. Ribosomes d. plasma membrane
Which sequence describes the path that air travels through the respiratory system? bronchi, trachea, nose, larynx, and pharynx nose, pharynx, larynx, trachea,