I have a program to re-write for a small amount of extra credit, but have not been able to find examples/info in books or on the web.
Originally the program involved three arrays with 2 dimensions each. Elements of arrays 1 and 2 were added together to create the elements for array three. That went okay I think, I got the desired results etc.
Now I need to create two functions to be called from main, that will create/fill the arrays and send back the array data to main to do the calculations for the third array.
I thought my function prototype, call etc was set up properly, but I either get zero's in everything or a few systax or declaration not terminated properly errors. I have not been able to locate examples of the right way to set up these functions.
Don't laugh, but this is one of many variations I have tried:
int even ()