The goal of this assignment is to practise using strings.
This assignment is worth 2% of your semester grade -- i.e., it will be marked out of 20 points.
Read through the ENTIRE assignment before you begin.
For this assignment, you will write a program that writes your name, horizontally and vertically.
First, the program should ask (or "prompt") the user to enter his/her
name.
The program should store the name in a string variable.
Then the program should print out the name vertically,
in square 4X4 blocks, each containing one letter of the user's name.
Then the program should print out the name horizontally,
in square 4X4 blocks, each containing one letter of the user's name.
The program should print a blank line between the entry line and the
vertical name, and between the vertical name and the horizontal name. The
program should print a blank character between each letter in the horizontal
name.
Here's a sample run. The letters in big, bold
font were entered by the user. The rest was output by the computer.
aaaa
aaaa
aaaa
aaaa
llll
llll
llll
llll
eeee
eeee
eeee
eeee
xxxx
xxxx
xxxx
xxxx
aaaa llll eeee xxxx
aaaa llll eeee xxxx
aaaa llll eeee xxxx
aaaa llll eeee xxxx
1. Write the program, as specified above:
2. Make sure you do the following:
4. Also, please bring a hardcopy to class!