0
game
for(int k=1;k<10;k++) { if(count==3) { break; } count=1; for(i=1;i<10;i++) { if(count==2) { count++; break; } m=a[k][i]; for(j=i;j<9;j++) { if(m==a[k][j+1]) { count++; break; } } } } there is no GOTo statement...so after if(m==a[k][j+1])(two number being matched) this..how can i come back from every loop...
1 Réponse
+ 2
A while loop which encapsulate all your for loop?
According to your goals, you can set the while condition to true for obtain an infnite loop:
while (true)
{
/* your code */
}