计算绝对值|-1|+ |-2|+ |-3|+ |-4|+ |+ 5|+ |+ 6|+ |+ 7|+ |+ 8|

问题描述:

计算绝对值|-1|+ |-2|+ |-3|+ |-4|+ |+ 5|+ |+ 6|+ |+ 7|+ |+ 8|

|-1|+ |-2|+ |-3|+ |-4|+ |+ 5|+ |+ 6|+ |+ 7|+ |+ 8|
=1+2+3+4+5+6+7+8
=(1+8)*4
=36