First off I'm not asking for homework answer, just trying to understand what in the world Im supposted to do. I was given an assignment and didn't understand completey. Asked my professor and she didn't help much (HEAVY accent and Im not to sure she knows what going on anyways).
So I need to resort to other forms of help. My project is as follows:
Alright, The problem pretty much is, we havent gone over this material. Any examples or explanations will help greatly.• Write a program to process integer arrays, which will include functions with the following prototypes:
void read_array( int , int);
void print_array( int , int);
int find_largest( int , int);
int find_index_of_largest (int , int);
int search_array( int , int, int);
float find_average( int , int);
In this program, you have to use a define preprocessor directive to define the number of elements in the array as 100. The main function should start with the call to the function read_array, which will initialize array elements to random numbers from 1 to 200 with the help of the functions srand and rand. After that there should be just one do/while loop, which contains a call to the function array_menu, which displays options, and a switch structure that calls one of the functions listed in the menu (depending on the choice). Note that the function print_array should display array elements 10 per line. Follow prototypes exactly!
P.S. There really should be a newb forum for this kinda stuff, and if there is, sorry to bother.