Write a program that accepts a number and produces a pattern as shown in the
following sample outputs.
Line = 3
*.* .* *
Line = 8
.*.*.*.*
*.*.*.*
.*.*.*
*.*.*
.*.*
*.*
.*
i've just learnt to use the setw() command.....
but how do you fill up the alternate spaces with a different item as shown above?
appreciate any help rendered.
:cheesy: