Note: No late projects will be accepted.
hw3.c
.
Correct any compilation errors (if any) that you receive and recompile until you receive no errors. This is done properly by fixing the cause of the first error message and then recompiling. This may remove more than one error message. It is the case that one error early in the code can cause other error messages to print later even when there is nothing wrong (spurious errors). Working through the error messages beginning with the first message, and recompiling between fixing each of them, will insure that you are not trying to fix something that isn't really wrong.
a.out
is there. This is your executable program.
a.out
at the prompt. You can assume
the user will only input positive integers. Here is a
sample run of the program:
hw3.c
.
To submit your project, type the following at the Unix prompt.
Note that the project name starts with uppercase
'H'.