See the attached file for the question, please provide the codes only, I need to run in Visual studio.

See the attached file for the question, please provide the codes only, I need to run in Visual studio. 1

  • You have been asked to accumulate a sum and to average a list of data values using functions. Because these tasks surface in many problems, design a general set of functions you can reuse in other programs.

  • The problem is described and analyzed in the lecture slides. You will prompt a user to enter some numbers that you will accumulate, find their sum and average.  You will rely on the functions in the accompanying figure to accomplish this.  You will display the sum and average of these numbers before you exit the program.