Im writing a program right now where the user enters integers until a sentinel value is entered. After that, the program displays how many positive and negative numbers there are.
I used a while loop for the user to enter the integers, but I am having difficulty figuring out how to tell the program "count how many positive and negative numbers are in the list"
Can anyone point me in the right direction?
Thank you