hi.
i am working on an assignment where i have a file that has a list of numbers. using those numbers, i should be able to create a program, where when prompted, i can find the mean of the numbers from that file, the biggest numbers, etc.
the output would be like this:
Make a selection from the list
1. Get the largest value
2. Get the smallest value
3. Get the sum of the values
4. Get the average
5. Get the number of values entered
6. End this program
and then i could get that value from the file.
what i want to know, is how is a file attached to my sources for the programming and how i can get started on it. my book doesnt cover the topics much, nor does it cover what a menu-driven program is. (which i assume is this)