2009-05-04 02:59:19 UTC
after creating the file as explained above , the program should sort the employees according to the descending order of their salaries . The program should display a list of three option to sort the file and then user chooses one of the ways (1,2 or 3) to sort the file as follows:
1. sort the file on hard disk (without using array).
2. sort the file in main memory (use an array) , without modifying the file . (i.e. do not copy the array back to the file).
3. sort the file in main memory (same as #2) and copy the array back to the file.
wherever way the user chooses the sorted employees information should be displayed on screen