Assignment 5

Write a program the reads data in exactly the same format as for assignment 4, and constructs an AVL tree from that data. The ordering should be exactly the same as it was for assignment 4. When the AVL tree has been constructed, you should use the ordinary ordered binary tree printing function/method to output the sorted data into a file called avlout.txt

Your program should take just one input from the command line, the name of the file containing the data to be sorted, for example
     a.out /home/www/class/een318/database1.txt