the sum of all the integers k such that – 21 < k < 24 is Answers
A) 0
B) - 2
C) - 25
D) - 39
E) - 51
<gadget id="calculator">-21</gadget>
<output>-21</output>

<gadget id="calculator">(-21) + 1</gadget>
<output>-20</output>

<gadget id="calculator">(-20) + 1</gadget>
<output>-19</output>

<gadget id="calculator">(-20) + (-19)</gadget>
<output>-39</output>

<result>D</result>
the sum of all the integers k such that – 21 < k < 24 is
add(add(negate(21), const_1), add(add(negate(21), const_1), const_1))
"- 20 - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - 23 values upto + 23 cancels outwe are left with only - 20 - 19 sum of which is - 39 . hence option d . d"