I need help with this. thank you... Read numbers from input containing a sequenc
ID: 3617548 • Letter: I
Question
I need help with this. thank you...Read numbers from input containing a sequence numbers andcount the number of negative values until 0 is read. Print how manynegative values are in the input.
If the input data contains -1 -2 -3 -4 -5 -6 0, then it should print 6.If the input data contains 1 -2 3 -4 5 -6 0, then it should print 3.It is possible that 0 is the first number in the input.I need help with this. thank you...
Read numbers from input containing a sequence numbers andcount the number of negative values until 0 is read. Print how manynegative values are in the input.