|
|
|
|
 | |  |
| boss, can you please help me find the sum of all integers from -10 to 2012 inclusive | |
 | |  |
|
 |
|
|
|
|
|
|
|
 |
 | |  |
| -10+(-1) = 11 then divide 10 by 2, the answer is 5. -11x5 = -55. 2012+1 = 2013. 2012 divided by 2 is 1006. Multiply 2013 by 1006 the answer is 2,025,078. The last step is subtract 55 from 2,025,078 | |
 | |  |
|
|
|