计算:(2+4+6+8+···+100)-(1+3+5+···+99)

问题描述:

计算:(2+4+6+8+···+100)-(1+3+5+···+99)

50
.......

(2+4+6+8+···+100)-(1+3+5+···+99)
=(2-1)+(4-3)+...(100-99)
=50

(2+4+6+8+···+100)-(1+3+5+···+99)
=( 2+100)x 99 /2 - ( 1+99) x 99/2
= (102 + 100) x 99/2
= 101 x 99
= 9999

2-1+4-3+6-5+。。。+100-99
=50