a book seller sold 2 books at rate of one book and losses 20% on other.what did he gain or loss on whole outlay

The wording makes no sense to me.

To determine the overall gain or loss on the whole outlay, we first need to find the individual gains or losses on each book.

Let's assume the cost price of both books is $100 each.

For the first book, the seller sells it at the rate of $100 and does not mention any gain or loss. So, we can assume there is no gain or loss on the first book.

For the second book, the seller incurs a loss of 20%. This means the selling price is only 80% of the cost price.

The selling price of the second book would be: 80% of $100 = $80.

Now, let's calculate the overall gain or loss:

Total cost price of both books: $100 + $100 = $200
Total selling price of both books: $100 + $80 = $180

To determine the overall gain or loss, we subtract the total selling price from the total cost price:

Overall gain or loss = Total cost price - Total selling price
= $200 - $180
= $20

Since the result is positive ($20), it means the seller gained $20 on the whole outlay.