I am wanting to allocate storage for numbers from a file instead of storing them in a list and then finding the mean of the number. I have done this for a list below but i am struggling with the concept of doing this for a pointer. Any help is appreciated.