CSE 1341: CS I (Fall, 1999)
Homework Assignment #2
Due Date: Wednesday, 9/8/99, before midnight.
Programming Assignment
Use the programs "hello.c", "add2.c" and "greetings.c" discussed in class
as examples,
write a program to greet the user,
and provide him/her with some faculty teaching information
about the SMU/CSE faculty you listed in your homework #1.
Specifically,
- List (print) the courses each professor is teaching.
- Calculate the average number of courses per professor,
and print the information.
What to Turn in
You need to e-mail both your program, and a trace of its execution
(you TA will teach you how to use "script" to record execution traces),
to your TA by the due date.
Prepared by Jeff Tian
(tian@seas.smu.edu).
Last update Aug. 31, 1999.