Sample input problem

In this question,how much integers we will take is not mention there?

hello @asif_h could you please elaborate your doubt so that i can help you in the better way.

In challenge- Fundamentals part there are some questions one of its questions is Simple Input .And in question it says that we have to print all the elements before the cumulative sum become negative.But in question,total elements is not mention.so how much elements we have to consider in this question?

you can make a while loop in which it will run for infinite number of times .
but in that while loop there will be condition in which you will terminate if the sum becomes negative .

if you still have any doubt you can ask here .

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.