[SOLVED] COSC2436 Programming Fundamentals III Lab 1

25.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

5/5 - (1 vote)

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

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.