Lab 1

Early dot-matrix printers had a print head consisting of a vertical column of seven pins. An inked ribbon ran between the print head and the paper. When one of these pins was "fired" it struck the ribbon which hit the paper and left a dot.

The print head (as seen in the top view) moved left to right and at any given print position, or column, any combination of the seven pins could be fired. The print head would then move a small distance to the next column. Each letter and numeral was created within a 5x7 dot-matrix (5 dots wide and 7 dots high).  A blank column separated one character from the next. For example, the numeral "29" could be represented as shown below. The upper representation is on the same scale as the drawing above. The lower representation uses "pins" that are exactly one pixel in size.

1. Create a 5x7 dot-matrix representation of each of your initials (first name, middle name, and last name). Use only capital (uppercase) letters.

2. Write a C++ program that displays each of your initials in a 5x7 matrix using the asterisk character to represent a dot. For example, a program displaying the numeral "29" would look like this:

3. Name your program file "Lab01.cpp" and submit it to me as an email attachment.