CECS 282
LAB ASSIGNMENT 5
Assigned date: 9/27
Due date: Thu 10/4
20 points

Problem 1 [15 points]

The idea of this program is to create an array of pointers to objects of the person class. The program can sort a group of person objects based on the alphabetical order of their names or the numerical order of their salary.

Requirements:

  1. Create class called person with the following property and methods:
  2. Create a function called bsort to sort pointers to objects.
  3. In the main function

Problem 2 [5 points]
Redo problem 1 without the function order.

GRADING