Write a program that reads records containing an employee


Problem

Write a program that reads records containing an employee number and an hourly rate for several employees, and stores these in a heap, using employee number as a key. The program should then allow the user to insert or delete records, and finally use heap sort to sort the updates list so that the employee numbers are in ascending order, and to display this sorted list.

You can use the algorithms from the text book.

Example of an employee records will be:

7          10
2          11.50
5          9.50
4          8.50
3          11.50
8          8
1          10.50

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Write a program that reads records containing an employee
Reference No:- TGS02749791

Now Priced at $30 (50% Discount)

Recommended (99%)

Rated (4.3/5)