Extra Credit Homework 1

Sorting and Character Variables


You may use this to replace points lost in other regular Homeworks.

Modify the existing program grades1.f as follows:

1) For 4 points, add a comment to the SUBROUTINE SSORT identifying the type of sort algorithm used.

2) For 12 points, modify SSORT, the call to SSORT, and any necessary variable types, so that the final print of grades is sorted alphabetically by name.

Use grades.in as your class data. Your final product should produce the same results as the original "grades1.f" with the exception of the order of the list of students' grades. If you add or modify more than 10 lines (I did it in less), you are doing something wrong.