✔ 最佳答案
Let x be the number of pens
Let y be the number of pencils
2.5x + 0.8y <= 40 ----------------- (1)
x + y = 30 -----------------------------(2)
From (2), x = 30 - y ----------------(3)
Sub (3) into (1):
25 (30 - y) + 8y <= 400
750 - 25y + 8y <= 400
750 - 17y <= 400
-17y <= -350
y >= 350/17
y>= 20+10/17
The minimum number of pencil he should buy is 21.