C Programming - Week 2

All worksheets/lecturenotes etc are provided in MS-Word format - copies should be available from the departmental office.

Worksheet Two

Coursework Two

Lecture Two

Example Code from lecture two with notes showing where various bits of a C program should go.


Source code described in worksheet two is in the directory ~rgc2/ccourse/week2/. They are also available here for download:

bugger3.c
bugger4.c
fact.c
goldbach.c
pascal.c
pfrag.c
prime.c
scanf.c


Model answers to the coursework will follow, after the work has been handed in.