I am trying to create a program based on the input of a number to generate a pattern: if the user enters the number 3 the pattern should be -
but if I enter the number 4 the pattern would be -Code:*** *** ** ** * *
Can anyone help out?Code:******** *** *** ** ** * *
Thank-you
[code][/code]tagged by Salem