Overview: Postal barcode (Exercise 2.1.36). The initial barcode 1 used by the U.S Postal System to route mail is defined as follows: Each decimal digit in the ZIP code is encoded using a sequence of three half-height and two full-height bars. The barcode starts and ends with a full-height bar (the guard rail) and includes a checksum digit (after the five-digit ZIP code or the nine-digit ZIP+4 code), computed by summing up the original digits modulo 10. Implement the following functions
Implement a test client that reads in a five or nine digit ZIP code as the command line argument and draws the corresponding postal barcode.
Details