Due 03/02/24 at 11:59:59PM.
Late submissions are subject to a 20% late penalty.
The C Programming Language, 2nd Edition - Kerninghan & Ritchie
Chapter 5.1-5.9
You may work individually or in a pair for all assignments. If you do so, make sure that each member of the pair submits an answer to at least 1 question.
For each question, you will be submitting the homework via Github pull requests, just like how the industry submits code for review.
Please follow the instructions carefully. Note: failure to do so will result in a reduction of 20% of this homework grade. If you make a mistake, you can always delete the entire repo and try again (but of course, save your code).
- Go to the provided hw link.
- Create a team (individual or a pair).
- Clone the repository to your unix environment and work on the main branch. If you are working in a pair, each of you will have to make at least 1 commit.
- Answer each question in their respective folder and name the file q#.c where # is the question number. Do this unless otherwise specified.
- Push your main branch to the Github repository.
- This will automatically create a pull request and perform auto grading.
For all questions, you must do the following:
- Submit compile-able code
- Edit the README.md with the compilation steps (even if it is just one line)
- Edit the README.md to have the output of the program.
Output - 50%
Code Quality - 50%