Puzzle L21


Puzzle L21 — print a pine tree of stars

[M-21]Write a main() program that prints an ASCII-art version of a pine tree:

...........*...........
..........***..........
.........*****.........
........*******........
.......*********.......
......***********......
.....*************.....
....***************....
...*****************...
..*******************..
.*********************.
***********************
..........***..........
..........***..........
..........***..........
..........***..........

You might want to add a ornament at the peak of the tree, or perhaps put some decorations within the tree.



Answer         Next Page         Previous Page Home