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

Write the equation in standard form for the circle passing through (– 5,10) centered at the origin
GIVING 50 POINTS!!! Solve the triangle using the law of sines. Show all work and round answers to the nearest tenth.
The length of a rectangle exceeds its width by 5 inches, and the area is 14 square inches. What are the length and width of the rectangle? Separate the answers
A bakery made 93 muffins. 74 of the muffins contained nuts. What is the ratio of the number of muffins without nuts to the number of muffins with nuts?
The kid cooks a meal for himself and the Tramp. What does he make? Sausages and beans. Pancakes. Chicken. Soup.
Right triangle EFG has its right angle at F, EG = 6 , and FG = 4 What is the value of the trigonometric ratio of an angle of the triangle? Drag a value to each
Whenever a partner mix in a partnership changes, the old partnership ceases to exist and a new partnership begins. True False
"Joey was at the scene of the crime when the police arrived, therefore Joey committed the crime," is an example of what kind of logical fallacy?
Help pls it’s really easy but not for me :(
Alexander caught 21 lightning bugs in 7 minutes. What is the average number of lightning bugs he caught in 1 minute? Find the unit rate by using what you know a