DSA Learning Series [Contest 1] Problem --- LADDU

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.

Thanks @am011. That was the mistake.
The solution has passed.
Thank you.