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

Prepare a T account for each transaction. Label the account title for each account affected. Use the chart of accounts you created in Question 1. Write the debi
holaa me pueden ayudar porfavor hallar el centro y el radio de cada circunferencia. ​
Read the passage from Animal Farm."You have heard then, comrades," he said, "that we pigs now sleep in the beds of the farmhouse? And why not? You did not suppo
x/2+2x+4/4=x-1/6-3-2x/3
peranan sultan dan sistem pentabdiran negeri negeri melayu bersekutu
write 2to3 sentences about the topic you dont understand in secquences topic in first quarter
TEXT EVIDENCE MY EXPERIENCE CONCLUSION from women in aviation​
9. Keenan is decorating cards with ribbon. She uses 25 centimeters of ribbon on each card. Keenan has I meter of ribbon. What is the total number of cards Keena
find the area of the sector formed by central angle theta = 60
Two blocks m and M with masses 2 kg and 6 kg respectively are in contact on a smooth horizontal surface. If a horizontal force of 10N pushes them, what is; a) T