Write a program that prompts a user to enter numbers, determines how many positive and negative values have been entered, and computes the sum and average of the numbers entered, not counting zeros. Your program should prompt the user for the number of values that will be entered. It should also contain a while loop to make sure the user enters an integer for the number of values and a for loop to prompt the user for values and calculate the statistics.
Display the output in this order: number of positive values, number of negative values, sum and average.