#50161: 不是解答,是c++解題思路


yp11451214@yphs.tp.edu.tw (702-37楊睿淵)


a 如果<0

a-a*2

ex:

a=-2

-2--2*2=-2-4=-2+4=2

a如果>= 0

cout<< a