Can anyone help me solve this problem? pass by reference/value and file i/o should be used..

Write a C++ program which will read in a list of numbers, find the average of all numbers, the average of thepositive and negative numbers, and the largest element. Your program should contain at least four functions -- one to read in the list, one to write it out, one to get the averages, and one to find the largest element.

please help me.. thank you.