Assignment 3 - CSC180 Assignment 3 Fall 2006 Due: Monday,...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSC180 Assignment 3 Fall 2006 Due: Monday, October 30 by 10:00am Instructions: There are 4 problems in this assignment. You need to write a C program for each problem. Specific instructions regarding which programs you are to submit test plans for are included in the problem statements. Each of your C programs must go in a separate file. Because we will be compiling and running your tests with automatic scripts, it’s very important that your files are named in a very specific way: the file for problem 1 should be named a3p1.c , the file for problem 2 should be named a3p2.c , and so on. All letters in the filenames must be lower-case. Your programs must accept input data in the order and format specified in each problem statement, and your programs must terminate as indicated in the problem statement. These rules allow us to test all programs with the same input data and return your work in a timely manner. If you have any questions about format or termination, please ask rather than assume. All of your test plans must go in a single text file (plain text – not a word processor file) which must be named a3testplan.txt . This document does not need to be a fancy report, however it does need to be clear. Each test plan should be clearly labeled by problem number, and you should also make it easy to tell where one ends and the next begins in the document. Make sure to include your name, student number, and the assignment number at the top of the file. Both your source code files and your test plan file will be submitted electronically. We will be letting you use library functions and arrays on this one. While this does give you more freedom, you need to be careful that you’re not trivializing your answer (e.g. for problem 4 on assignment 1, using the fabs() function would have trivialized your code) or making it unnecessarily complicated. Functions: Most, if not all, of the programs you write for this assignment (and future assignmenst) should contain multiple functions, since they will be large enough that it would not be appropriate to write all the code in a single main function. It is part of your task to think about the organization of the functions, to
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

Assignment 3 - CSC180 Assignment 3 Fall 2006 Due: Monday,...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online