Solutions for K & R Exercise 7-2

The following are two versions of the solution to Exercise 7-2.

7-2-1    Structure used for ouput line template
7-2-2    Pointer to printf format string literal used for ouput line template