CSE 1341: CS I (Fall, 1999)

Prof. Jeff Tian (tian@seas.smu.edu)
Dept. of Computer Science and Engineering
Southern Methodist University
Dallas, TX 75275

Homework Assignment #3

Due Date: Wednesday, 9/15/99, before midnight.

Learning Example

Study the program from Chapter 2 of your textbook: cmtofeet.c and inchtocm.c.

Programming Assignment

Use the above program as your guide, write a program of your own that does the following:

Standard Test Values

After testing/debugging with your own input values, make sure that your program works with the following pairs of height/weight values:

What to Turn in

You need to e-mail both your program, and a trace of its execution (remember "script") to your TA by the due date.
Prepared by Jeff Tian (tian@seas.smu.edu). Last update Sept. 7, 1999.

Back to CSE 1341 webpage