BUT, as soon as they do ANY input, it is time to teach
error and validity
checking. (and to NOT trust scanf() with unformatted input!). And then,
whenever there is anything that could POSSIBLY have a problem (such as
disk I/O), teach planning for all possible problems.
I returned an Open University assignment with some validity checking that was
not in the question and got down marked!
wtf.....
Dave Caroline