Lab 13
Arrays

Objectives

The objectives of this lab are to become familiar with using arrays in C. Once again we will be using a makefile to build these programs; however, this time you must write the makefile yourself again from scratch (1 Point). (Hint: the easiest way to do this is to copy a makefile from a previous lab and modify if). Your makefile should properly compile and link the source files needed to make the three programs described below. The commands we will use to compile your programs are:
          make averages
          make water

Programs

What You Turn In

Use the "grade" command to turn in the all of the source and data files (.c,.h, and .dat files) and the makefile in your Lab13 directory. Your command will look like the following.

If you are in Section 001 use:

            grade -lab13s1,ee160  *.c *.h makefile

If you are in Section 002 use:
            grade -lab13s2,ee160  *.c *.h makefile

If you are in Section 003 use:
            grade -lab13s3,ee160  *.c *.h makefile

If you are in Section 004 use:
            grade -lab13s4,ee160  *.c *.h makefile

You should verify that you turned in things successfully, which you can do with the command (which simply leaves the file names off from the previous command).
            grade -lab13s1,ee160

            OR

            grade -lab13s2,ee160

            OR

            grade -lab13s3,ee160

NOTE: This is the last of the regular lab assignments. For the remaining weeks of the semester, you should work in the lab with your team on the final project.