The program below inputs numbers (from the user, or cin) and prints the total when the user enters 0 or a negative number.