C++ Nested Loops | CodeHub