This assignment has several parts. The first asks you to log on and send an electronic mail message telling us who you are and why you are taking the course. The second asks you to type in, compile, and execute the first few programs we discuss in class. The third asks you to modify a program that's been written for you.
The due date is: Wednesday, September 4th, 1996 at 6pm. We will not accept any late assignments, period.
Part 1: Log onto Wiliki and send your TA (yzhang@wiliki) an electronic mail message. You can use either the elm or pine commands. Your message's subject line must be EE150: ASSIGNMENT #1 (in upper case, and with exactly one space following the colon and the last "T" in "ASSIGNMENT", with nothing following the #1). The reason for this pickiness is that your mail message will be automatically processed to give you credit for this part of the assignment.
The message body should have your name on the first line, your social security number on the second line, and empty third line, and then a brief paragraph telling us why you are taking the course and how much prior computing experience you have had (if any).
The point of this part of this assignment is to familiarize yourself with sending e-mail, as that's the primary mechanism by which we expect you to ask questions and to receive information about how you are doing in the course.
Please make sure that you send this mail message from your Wiliki account and not from an account on some other machine, such as "uhunix". Messages from machines other than Wiliki will be ignored.
Part 2: Create a file containing the program welcome2.c that is on page 7 of the text. Compile this file and run the resulting executable program. Make sure its output is IDENTICAL to the output in the text (no typos, no extra spaces, and so on).
Part 3: Create a file first.c that an identical copy of welcome2.c. The modify the program to print the message below (instead of its current welcoming message):
Make sure the program prints exactly this message and nothing else!This is my first C program.
Part 4: Create a file second.c that an identical copy of first.c. Then modify the program to print the message five times, changing the word "first" to "second". That is, the program should now print:
This is my second C program. This is my second C program. This is my second C program. This is my second C program. This is my second C program.
To get credit for this assignment, you must send us mail (as mentioned in Part 1) and then electronically turn in the three files you created in Parts 2 through 4: welcome2.c, first.c and second.c.