I need assistance writing a function that will perform three tasks. The first thing it must do is find the average of a set of data. Then it needs to use a pointer to increment the number above the average. Thanks all fine, but the last thing it has to do is print out the array of structures that have a value larger than average.
How am I suppose to have a function return a double and print the array of structions at the same time?
Anyone ever done this before?
Thanks
How am I suppose to have a function return a double and print the array of structions at the same time?
Anyone ever done this before?
Thanks
Comment