.
     CSE 109    HW 3   Due 9 PM  Thursday  16 October 2008

     This homework is an exercise in writing STKM programs and is
     meant to have you become familiar with stkm.

     Write two STKM programs.  The first should read in a list of non-
     zero integers, the list being of any length, write out each number, and
     write out the sum of the of the positive numbers and the sum of the
     cubes of the negative numbers. The second should read in 5 ints and
     for each write out 1 if it is divisible by 2 and write out 0 otherwise.
     A 0 should serve as a sentinel for the first list.  Use stkm (stored in
     /proj/csc109/bin/stkm) to make sure your program works properly.   The
     first STKM program should use the following data: 4 -4 6 5 -3 -4  0.
     The second STKM program should use the following data:  -3 4 8 3 -12
     Of course your programs should work for other sets of data.

     To submit your homework, create a subdirectory of cse109.084 called
     hw3 (that is, from your root directory /cse109.084/hw3).  In hw3 store
     two files, the first called hw3.prog1 and containing your first
     STKM program and the second called hw3.prog2 and containing your
     second STKM program.  The subdirectory hw3 should contain no other
     files.

     NOTE: This homework (and all homeworks will only be collected once
     (unlike programming assignments, for which there will be multiple
     opportunities to submit your solution).

