Problem:
Question- Write a c++ program which will compute the average of as user entered list of postive integers. The user would indicate the end of the list by entering a zero or negative number. Once the list is ended the program should report the number of integers entered (not including the terminating 0 or negative). The sum of the integersm and the average of the integers wuth six digit precision. Make sure your program takes into consideration the possible side effect of entering a negative number. The program should also work if no numbers are in the list and the only entry being 0 or negative. IN this case there is no output and program should terminate. Only integers will be entered.
Please show the coding step by step.