A pet shop bought a litter of puppies for $120. All but four of them were sold, a a profit of $5 each, for a total of $120. How many puppies were in the litter.

Let x be the number of puppies in the litter.

Cost per puppy = 120/x
Revenue per puppy = 120/(x - 4)
Profit per puppy = 5
Profit = Revenue - Cost
Plug in the above expressions and solve.

To find the number of puppies in the litter, let's break down the information given step by step:

1. The pet shop bought a litter of puppies for $120.
2. All but four puppies were sold.
3. Each puppy was sold at a profit of $5.
4. The total income from selling the puppies was $120.

First, let's calculate the total profit from selling the puppies:

Total Profit = Total Income - Cost
Total Profit = $120 - $120
Total Profit = $0

Since the total profit is $0, it means that the shop did not make any profit from selling the puppies. This implies that the number of puppies sold is equal to the number of puppies bought.

If all but four puppies were sold, then the number of puppies sold is (Total Number of Puppies - 4).

Since the number of puppies sold is equal to the number of puppies bought, we can set up an equation:

(Total Number of Puppies - 4) = Total Number of Puppies

Simplifying the equation, we have:

-4 = 0

This equation cannot be true. It suggests that there was no litter of puppies initially, which contradicts the given information. Therefore, the given information is inconsistent, and we cannot determine the number of puppies in the litter based on the given information.