Hi,
I have to write a program that reads in a number from 5 - 25. That number corresponds to the number of rows that the program will display in the shape of a diamond using asterisks (*). For example, if the user types in '7', then the program would display something like this:
(I couldn't get the first * to line up, but you get the point)Code:* * * * * * * * * * * *
I was planning on using a 'for loop' to implement this, but I'm not quite sure where to begin, any suggestions on setting up the loops would be great.
Thanks, I'll post back with progress.