Lab Assignment 3
-
Try both versions of sorting program.
You can download the programs from
Program_1
and
Program_2
To download do the following, if you are using
- Netscape:
1. Right Click on the link.
2. Select the 'save link as' option.
3. Give the desired path name where u want to save the file.
4. Ask ur TA for help.
- Lynx:
1. When the link you want to download is highlighted press 'd'.
2. Now you will see the 'save to disk' option highlighted. Hit return
key.
3. Now enter a filename or choose the default.
4. Ask ur TA for help.
- Write your own program(s).
- Copy any small program from any Fortran book and run it.
- Read in 3 numbers and print their sum and average. (Too Easy?)
- Read in 5 numbers and print the biggest (maximum). (Easy?)
- Read in one number and print its reverse.
That is, if you read 7893 you must print 3987 (Moderately
difficult).