Assignments will be added each week
IMPORTANT NOTE Please download the assignment from the following. assig4.txt It is a Miranda program file which you can use as part of your answer. This will save you typing in all of the definitions.
Make sure that you save or copy the source file to a file called assign4.m You may need to copy the contents of the web page as text so that it formats correctly so that you can read it easily. It will depend on how your PC is configured. (It is also a good idea to chnage your settings so that file extensions are shown. To do this: go to Start, then Control Panel, then Appearance and Personalisation, then Folder Options, then click "View" middle tab at the top, then UNCHECK the box on the left "Hide extensions for known file types" if it is checked.
When you have copied the file, read the contents, then try running the program with "grandparent" as input. Then write and test the programs as stated 2/3rds of the way through the program file.