I think you missed the point of the exercise...
Per K & R 2nd ed., "It's bad practice to bury 'magic numbers' in a program; theyI see laserlight already gave her critique which is correct as always...
A couple of things...
convey little information to someone who might have to read the program later, and
they are hard to change in a systematic way."
One suggestion given, in dealing with "magic numbers" is to give them meaningful
names for example, using a #define statement.
I believe the above is the correct concept, not to be taken lightly.