Unable to understand question

i am not getting this question please help me what we have to do in this question

Hey @navneetsingh77, you just need to keep taking input from the user until the cumulative sum of all the numbers inputted becomes negative. So just to give you a small hint, you can use a while loop to keep taking input from the user and keep calculating the total sum in that loop. Use a break statement as soon as you see that the sum has become negative.

I hope this helps ! :slight_smile:
If you feel you are still stuck, feel free to raise a new doubt on the portal, I would be happy to help.

Happy Coding !

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.