for a list of numbers entered by the user and terminated by 0, find the sum of the positive numbers and the negative numbers