Assignment h4 Instructions


Like h3, this assignment will also involve the use of if-else and if/else-if 
statements, but now we've also thrown in loops and user-defined functions as 
well. The programs in this assignment are already semi-complete, your task is to
add the conditional statements that would make the program run correctly.

There is also a program where you need to fix all the errors in order for it to 
run correctly

There are four C source files:

fixThis.c - This "completed" program has errors that need fixed.

oddEven.c - same program as the one in h3, execpt you will be putting the code 
            that does that calculation in a seperate function.

countdown.c - This gets a number from the user, annd then counts down from that 
              number all the way to 1

printLeaps.c - You will take what you did in leap.c in h3, put that code in a 
               seperate function, and then you will print all the leap years 
               from that year until the current year.

Suggested Reading:

- Take another look at the links under h3's suggested reading, the wikibooks 
  page also has a section on loops.

- C Lessons 3 and 4 under Lessons in the class website, and the links 
  contained within.

- Wikibooks C: Programming: Procedures and Functions

In addition to the C source files, you will also see the README file, the 
manifest file, and the "working" directory, which has working versions of these 
programs. 

To check out this assignment, run "handin -C h4" in your home directory.

Once you're finished, go to your home directory and then submit your assignment
by typing in "handin h4"

This assignment will be due on September 21 @11:59PM EDT. (EDIT: The due date is
now September 28 @ 11:59PM EDT)