Assignment 2.17 in Deitel, with the following notes:
The output of your program should look like this:
1 2 3 4
The assignment asks you to write the program three different ways. Call your three files
by the names h03a.c, h03b.c, h03c.c.
Before submitting this to WebCT, prepare a script file in which you take each program, one at a time,
list it out, compile it, and then run it. For example, the steps in your script file for the first program are:
cat h03a.c
cc h03a.c
./a.out
When you upload, upload four files in all: each of the C source code files, and your script file.
Grading: Each of the programs is worth 20 points. Correctly scripting is worth another 40 points for
100 points in all.