CMSC 106 HOMEWORK ASSIGNMENT #1
DUE: January 7, 1998 (start of class)
- Design and code a program which will interactively allow a user to
determine the larger, difference and sum of two numbers.
The user should be prompted for the numbers to be input and then
select from a menu of the above options (use integers only).
At least on of the three options should be implemented as a
separate function.
- Document the code. Comments should be brief but informative. A good
rule of thumb is a comment for each function. Also a header comment
with your name, social security number, the assignment number,
a general description of the program and the names of any files
in your account needed to execute the program.
- Execute the code (at least twice) using the "script" command to
retain the runs.
- Hand in a print-out of the documented code along with the runs.