I need to make a diamond out of character with a pattern of 1,3,5,3,1.
right now my diamond looks like this
* where . is a space and , is a char.
Could anyone teach me how to make my nested loop increase the character output by 2 each time instead of 1.
All my spacing is right i just need to add some char values.