Multi-Dimensional Arrays // Output | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Multi-Dimensional Arrays // Output

https://code.sololearn.com/c2GkWK3Go5lB/?ref=app Hey guys, i had to write this code in a C++ lesson. I have two questions: - is there a way to combine the nested for loops, so that i can change the arrays AND write the output in one nested for loop? - how can i adjust the output to Write it like this: 111111 111111 111111 111111 111111 111111 Thank you in advance :)

11th Nov 2021, 2:20 PM
Felix L
Felix L - avatar
2 Respostas
+ 2
Add cout << endl; After 2nd loop
11th Nov 2021, 2:31 PM
AĶ¢J
AĶ¢J - avatar
+ 2
Well that was easyā€¦. Thank you :)
11th Nov 2021, 2:33 PM
Felix L
Felix L - avatar