Due date: Wednesday, February 3, 2010, 11:59pm.
Task
Write a program, in a file called task1.c, that does the following:
- Ask the user to input an integer.
-
If the integer is less than 0, the program prints:
negative
If the integer is equal to 0, the program prints:
zero
If the integer is greater than 0, the program prints:
positive
How to submit
Submissions are accepted either via WebCT, or via e-mail to the instructor and the TA. Submissions via WebCT are strongly encouraged. Starting with the second assignment, only submissions through WebCT will be accepted, so this is a good chance to make sure that you can use the WebCT system.
If you submit through WebCT, remember that your assignment is not submitted if you just click "upload". Your assignment is only submitted when you click "submit".
If you choose to submit via e-mail, the subject line should be "CSE 1311 - Assignment 1". The submission should include, as an attachment, your task1.c file.
We try to automate the grading process as much as possible. Not complying precisely with the above instructions causes a significant waste of time during grading, and thus points will be taken off for failure to comply, and/or you may receive a request to resubmit.
Submission checklist
- (if submitted via e-mail:) Was the submission sent to the instructor and TA?
- (if submitted via e-mail:) Was the subject of the submission e-mail "CSE 1311 - Assignment 1"?
- (if submitted via e-mail:) Did your e-mail message include one and only one attachment?
- (both for e-mail and WebCT submissions:) Was the submitted file called task1.c?