The program flow goes out of the loop even value of q is not zero.
i=5; q=1; if (q!=0) { r = i%2; q = i/2; [arr addObject:[NSNumber numberWithInt:q]]; i=q; }
}
Aucun commentaire:
Enregistrer un commentaire