+ 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 Réponses
+ 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