hello. i have just started doing programming and i have this number that i got stuck.can you please help me out and explain the basics to me...? here is the question:
As a seasonal amusement some programmers like to print out a picture of a Chirstmas
Tree looking like this.
*
***
*
***
*****
*
***
*****
*******
|
---+---
The tree consists of a series of tiers (three in this case) of increasing size. Write a
program to produce such a display having prompted the user for the number of tiers.
You could try putting a few baubles on the tree (using o or O).