CS 322 Fall 2013
Lab 1
C Exercises
Demo Friday, September 13th, Fourth Hour.


In Clapp 202 there is a copy of The C programming Language book by Brian W. Kernighan and Dennis M. Ritchie, (K-R).
It is the best book to learn C!

From Chapter 1 do the following three exercises.

For the three programs read characters from the standard input and print the results to standard output.
To simulate an end-of-file (EOF) do Ctrl-D.

Reading through K-R Chapter 1 and exploring the snippet codes is essential.
Check my last post on Moodle News Forum.