Code Rearranging: Pattern Generation — C++ Nested Loops | CodeHub