It is 100*(100+1)/2 = 50500.
Chat with our AI personalities
101
It is 2500.
n(n+1)/2 5050
SUM = 0: FOR N = 1 to 100: SUM = SUM + N: Next N: PRINT CHR$(11); "Sum ="; SUM: END
It's easy to work it out yourself.... Multiply 100 by 49, add 50, add 100 - and you have your answer !