What is wrong in my code??
Please help me finding what am i doing wrong??
Question link — CodeChef: Practical coding for everyone
My code — CodeChef: Practical coding for everyone
What is wrong in my code??
Please help me finding what am i doing wrong??
Question link — CodeChef: Practical coding for everyone
My code — CodeChef: Practical coding for everyone
In line 33, I think there is a mistake. The correct code should be:
total_laddus += 300 + bonus;
This should do it, everything else seems fine.