guys.. i hope you could help me out here..
we are currently in iterative and conditional statements..
problem is making a pyramid using asterisks.
for example, if the user input 6, that would be the height of the pyramid, while the body starts at 1 and increases by 2 each line.
i.e. input = 5
xxxxxxx*
xxxxxx***
xxxxx*****
xxxx******
xxx********
x - is the spaces. :)
thanks advance!