You are going to write a program in C to read in an array, find its average and then print the array and its average. What makes this assignment different is that you are going to use a dynamic array.
Make sure to have separate methods for reading input, calculating the average and writing the output. Make sure that the your input method prompts the users for the number of values being averaged, sets up a dynamic array of that size and then reads in the corresponding number of values.