Submission Deadline: Tuesday 1-7-2003 till 9:30 am (before class)
Submission Folder: IntegerSet30_6
Solve Q 7.9 of your text book (Dietel & Dietel). Also make:
- Constructor of the class which takes as argument the number of elements in the set and an int array that contains the elements.
- Getters and Setters
- A static member that counts the number of objects that have been declared.
- Make as many functions "const" as possible.
- Make a char data member that stores the separating character used between elements when printing the set. This data member should be declared constant in the class and its value should be passed from main. If no value is passed from main, it should be taken as space (as mentioned in the problem statement below).