How many coins, and what denominations, are in the purses to start? The format seems incomplete.
Let x = first coin and y = second coin
A - x - y = B + x + y
Is this what you are seeking?
What is the format for this problem: Move two coins from one purse to the other so that both ourses A and B hold the same amount of money.
1 answer