Correct option is D
Given:
Total cost price of all pencils = X
Sold: 20% at 25% loss,31 at 20% profit, remaining at 25% profit
Total profit = ₹248
Formula Used:
Profit amount=(Overall profit %)×X
Solution:
Shares by quantity: 0.20,31,1−0.20−31=157.
Overall profit (%):
0.20(−25%)+31(20%)+157(25%)
=−5%+(632%)+(1132%)
=1331%=152
Thus,
152X=248⟹X=248×215=₹1,860.