To print the Diamond, print the Triangle for the top, and then use similar, sort of backward for loops to produce the bottom of the Diamond. You may not use setw() or library functions to replicate a string multiple times; this assignment is about learning to use loops.
Get Free Quote!
255 Experts Online