Faisal Saleem wrote: > Write a template function that returns the average of all the elements of an > array. The > arguments to the function should be the array name and the size of the array > (type int). In > main(), exercise the function with arrays of type int, long, double, and > char.
Sounds like you want us to do your homework without you putting forth any effort. Show us what you've done so far. And there shouldn't be any need to specify the size of the array. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
