Cost price of 50 apples = Rs 400
Selling price of 1 apple = Rs 10
∴ Selling price of 50 apples = 50 × 10 = Rs 500
Since selling price is more than cost price, so there is a profit.
Profit = Selling Price − Cost Price
= 500 − 400
= Rs 100
Let x% be the Hanif's profit. Then,
⇒
⇒x = 25
∴ Hanif made 25% profit in this transaction.