A22.0002 Fall 1995
Homework assignment #5
Due Wed, NOV 20, 1996.
Write a program that produces the same
block letters as the program for Assignment #4 did. Now, however,
the program should accept either uppercase or lowercase letters,
e.,g., A or a; however, the block letter produced
should be the same as in
assignment 4 with this one difference:
the block letter produced for a given letter should be printed using
the letter read, as the character
used for the printing. For instance,if the letter read is a,
the letter produced should look like
aaaaaaaaa a a a a a a a a aaaaaaaaa a a a a a a a a
This means that you must pass as a parameter to procedures Horiz and
Vert the letter read.
If the character read is not a letter, the program should reject it and print an error message, such as, input not a letter. The input should be a string of letters that end with a period, so that you can read them using a WHILE loop.