The program
Edit anything and press Run. The output below was produced by running this exact code.
Expected output
Press Run to try it
=== ☕ DESI CHAI SURVIVAL CALCULATOR ===💰 Current Balance: ₹ 2500☕ Price per Cutting Chai: ₹ 15📅 Days Left for Salary: 10 days 🎯 Results:👉 Total Cutting Chais you can drink: 166 cups ☕👉 Daily Allowance: 16 cups per day!🎉 Party Mode! Aap ameer ho bhai! Extra Samosa bhi mangwa lo! 🥐🔥
How it works
The program divides the bank balance by the price of one chai and rounds down with ganit.floor, because you cannot buy half a cup. Dividing again by the days left gives a daily allowance.
The final agar / warna picks a message based on that allowance. Change the three numbers at the top to see the verdict flip.