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

Discuss how forests act as carbon sinks.
When you jump vertically off the ground, when you reach your highest point your velocity is zero and your acceleration is zero?
what are similarities between mountains and plains??
Suppose 70% of kids who visit a doctor have aâ fever, and 40% of kids with a fever have sore throats.â what's the probability that a kid who goes to the doctor
Four cups of hummingbird food that is 20% corn syrup is mixed with six cups of humming bird food that is 15% corn syrup. What percent of corn syrup is in the mi
How did midianite trouble the istralite? The Bible story
If an adult has to report to court for a traffic case, his or her case would MOST LIKELY be held in A:State Court b: Probate Court c: Appellate Court
A vacant lot is in the shape of an isosceles triangle. It is between two streets that intersect at an 85.9degree angle. Each of the sides of the lot that face t
holly is making a stir fry holly measures 5/8 cup of chicken and then adds 1/9 cup more how much chicken did holly use altogether?
The accountant at patton company has determined that income before income taxes amounted to $11,000 using the fifo costing assumption. if the income tax rate is