#P6. 【例3.2】 打印长方形
【例3.2】 打印长方形
Description
In the Windows console environment, all characters are of equal width. By default, each line in the window has 80 characters, and each screen has 25 lines, forming a character matrix. Utilizing this feature of the console, we can draw simple graphics. Below is an example of a 5×7 graphic:
ABCDEFG BABCDEF CBABCDE DCBABCD EDCBABC
Find the characteristics of this graphic and draw a 10×18 graphic.
Input Format
None.
Output Format
Output a 10×18 graphic similar to the one above.
Sample
NoneABCDEFGHIJKLMNOPQR
BABCDEFGHIJKLMNOPQ
CBABCDEFGHIJKLMNOP
DCBABCDEFGHIJKLMNO
EDCBABCDEFGHIJKLMN
FEDCBABCDEFGHIJKLM
GFEDCBABCDEFGHIJKL
HGFEDCBABCDEFGHIJK
IHGFEDCBABCDEFGHIJ
JIHGFEDCBABCDEFGHI