how to give start to thinking for this prob
Regarding Given a list of numbers, stop processing input after the cumulative sum of all the input becomes negative
Think like taking a global value sum, take an input, add it to sum, and if sum becomes negative come out of loop, otherwise print that value(which you took as input) and do these tasks again and again.
While loop or Do-While loop will be preferable.
Hope this Helped
thank u so much that helped me alot