| |
Exercise 8
Using the file produced in Exercise5, read it and store the names in an array, sort the array into ascending order
and output the sorted list.
Code the following Structured Design Chart into Pascal:

As mentioned before, when the file is being transferred from disc to the computer, the end of the text file
is marked with a special 'end of file' marker. We therefore just have to keep transferring lines from the file
until the 'eof' marker is encountered.


|