0
How do I use a loop on two or more integers at the same time? Please help...
I've been finding it hard to use a loop on more than one integer, so I thought it would be best to just ask.
2 Antworten
+ 1
But in fact you can use for(i=0,j=0; i <5; i++,j+=2) and etc
0
Via chain loop bloks. for(...){for(...)...} But this is not good practise. Since each for loop increase complexivity of your code. 1 for is On, 2 fors(one inside other) On^2