11/17/2020 3:26:35 PM
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.
Thanks for helping
Anas kayani in the second for loop the j should be >=0 bkoz when you set it to j<= the loop will never work
Yes you are right
But loop is working without that condition
Send us a message