Do the following exercise from the book. Follow the instructions for all assignments (one link up) and any specific additional instructions for each problem.
Ch. 2, Programming Problems 2, pg. 94
Name the program maxarray.cpp. Make sure the following requirements are met.
- Program must compile and run.
- maxArray function must be a recursive template function.
- Add a main function to test the maxArray function so that you have a complete program.
- Test the maxArray function on two arrays of different types.
Remember to upload all files before submitting.
maxarray.cpp
Textbook:
Data Abstraction and Problem Solving with C++, Frank M. Carrano, ISBN 978-0-13-446397-1
Reviews
There are no reviews yet.