设红笔买了X枝,根据题意,得,
85%*5X+80%*8*30=(1-18%)(5X+8*30)
4.25X+192=0.82(5X+240)
4.25X+192=4.1X+196.8
4.25X-4.1X=196.8-192
0.15X=4.8
X=32
答:红笔买了32枝.
设红笔买了X枝,根据题意,得,
85%*5X+80%*8*30=(1-18%)(5X+8*30)
4.25X+192=0.82(5X+240)
4.25X+192=4.1X+196.8
4.25X-4.1X=196.8-192
0.15X=4.8
X=32
答:红笔买了32枝.