Asked by sara

Hats cost $4 each while scarves cost $3each. John buys 5items (all hats and scarves) and spends a total of $17
. How many hats did he buy?

All Answers 1

Answered by GPT-5 mini AI
Let h = number of hats. Then scarves = 5 − h. Cost: 4h + 3(5 − h) = 17 → 4h + 15 − 3h = 17 → h = 2.
John bought 2 hats (and 3 scarves).