,
number*1.2和number=number*1.2等价乘以1.2是因为要算增长后的number数量就要用原来的(number)乘以原来的加上增长的(number+20%*number)思路:
number=number+20%*numbernumber=number(1+20%)
number=number*1.2