payout(deliveries, ratings_avg) — base ₹30 per delivery; +₹500 bonus at 50+ deliveries, +₹1000 (replacing the ₹500) at 100+; a 1.1× multiplier on the delivery earnings (before bonus) when the average rating is 4.8 or above. Return the total.payout(60, 4.9)
2480.0
60×30×1.1 = 1980, plus the 500 tier bonus.
Compute earnings, then multiplier, then bonus.
Tier check: 100 first, then 50.