Let friends be x and bill comes Rs. 1120. So 1 has to pay Rs. 1120/x.
As 3 have no wallets, so ( x - 3 ) friends have to pay Rs. 84 each as an extra. Means Rs (1120/x + 84) each.
Now as per question,
x = 8 , -5 [ x cannot be -5]
hence x = 8
SO, TOTAL FRIENDS BE 8
This situation can be expressed as the equation
(Think about this until it makes sense to you. The point of this problem is to practice converting a situation into an equation that models it.)
Each person who is paying is paying what they would have paid if everyone was paying, plus an extra
From here, simply expand the equation and solve for