+ 2
What is the purpose of third for loop,the code is alsworking without that.
For loop
7 ответов
+ 1
Anas kayani if you wanna see if the second loop working don't print spaces for example use cout<<"<" try to print anything else that you can see, but spaces u can't see them.
+ 1
Thanks for helping
+ 1
No problem
0
Anas kayani in the second for loop the j should be >=0 bkoz when you set it to j<= the loop will never work
0
Yes you are right
0
But loop is working without that condition