Three students form a group, and work together to solve the following exercises (in sequence). You are encouraged to discuss first, then divide the work to 3 of you so that each one work on 3 or 4 functions. Then integrate these functions on the computer of a student, and discuss how to solve it when you encounter problems.

Submit your exercise to Moodle when you completed each exercise. Write down the members of your group in the remarks.

  1. Define a class to handle an integer array
  2. Define a class to handle a floating-point array
  3. Define a class to handle a rational-number array
  4. Define an overloading operator