The objectives of this lab are to give you practice at using arithmetic expressions to do computations in C. You will also use printf() and scanf() to do program output and input. These programs will give you more practice at finding and correcting errors and begin to write programs yourself from scratch.
You should begin by creating a new directory called Lab3 in your EE160/Labs directory (which you have created in previous labs). All of the program files you write for this lab should be in this Lab3 directory.
The program should read and process one temperature value when it is run. Call the file temperature.c
Use the "grade" command to turn in these five programs (gravity.c, seconds.c, cars.c, gas.c and temperature.c). Your command will look like the following.
The format is 'grade -lab#s@,ee160 file1.c file2.c' -
(# = lab number, @ = section number) Make sure to replace # and @ accordingly.
The above command submits file1.c and file2.c
If you are in Section 001 use:
grade -lab3s1,ee160 gravity.c seconds.c cars.c gas.c temperature.c
If you are in Section 002 use:
grade -lab3s2,ee160 gravity.c seconds.c cars.c gas.c temperature.c
If you are in Section 003 use:
grade -lab3s3,ee160 gravity.c seconds.c cars.c gas.c temperature.c
If you are in Section 004 use:
grade -lab3s4,ee160 gravity.c seconds.c cars.c gas.c temperature.c
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 -lab3s1,ee160
OR
grade -lab3s2,ee160
OR
grade -lab3s3,ee160