It's 1000*1001/2 = 500500
2006-10-16 04:22:29
·
answer #1
·
answered by F.G. 5
·
1⤊
0⤋
the sum of the integers 1 through n = n*(n+1)/2
when n = 1000, 1000*1001/2 = 500500
this is from Galileo, i believe
2006-10-16 04:33:10
·
answer #2
·
answered by michaell 6
·
1⤊
0⤋
1+2+3+4+5+6+7+8+9+10=55
55(1000)=55000
my answer is 55000
2006-10-16 05:08:21
·
answer #3
·
answered by mich 2
·
0⤊
0⤋
arithmetic series:!
Sn=n/2 (a+L)
where n is the number of terms , a the first term and L the last term
so
S1000=1000/2(1+1000)
S1000=500500
2006-10-16 04:29:30
·
answer #4
·
answered by cyprus1988 2
·
2⤊
0⤋
easy 1 + 999
2 + 998
3 + 997
equal 49,000
add one for 1000 and 500 which did not get paired
50, 500
2006-10-16 04:23:49
·
answer #5
·
answered by Grundoon 7
·
0⤊
1⤋
1000*1001/2=1001*500=500500
2006-10-16 04:23:34
·
answer #6
·
answered by raj 7
·
1⤊
0⤋
nicely, first take out the line that's outputting the numbers a million to 1000 to the demonstrate "cout << variable" probable. It seems such as you have already got the loop set up no count if it quite is exhibiting the numbers a million to 1000. interior the region which you deleted the cout<< line use a variable to get the sum. to try this you'll could desire to declare a clean variable on the final of this methodology with "int sum" or maybe if you opt for your variable to be named. Set it to 0 to do away with any rubbish in it. "sum = 0" interior your loop set the variable to be extra to even if the present form the loop is on with "sum= sum+i" the place i is the variable used on your loop. (mutually with for int i=0; i++; i<1001) whilst executed with that positioned the line "cout << sum" under your loop so it in basic terms executes as quickly as. that could desire to do it. i in my opinion wish that made sense and helped. stable luck.
2016-11-23 14:32:55
·
answer #7
·
answered by saragosa 4
·
0⤊
0⤋
1+999 = 1000
2+998 = 1000
....
...
...
499 + 501 = 1000
1000(499) + 500 = 499000 + 500 = 499500
2006-10-16 04:25:24
·
answer #8
·
answered by NeedHelpGivesHelp 2
·
0⤊
1⤋
n(n+1)/2=500,500
2006-10-16 04:30:44
·
answer #9
·
answered by yupchagee 7
·
1⤊
0⤋
5050
2006-10-16 04:25:47
·
answer #10
·
answered by metsfan804 2
·
0⤊
1⤋