orneto

função preencher_tabuleiro

Oct 28th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. void preencher_tabuleiro(int (&var)[3][3]){
  2. int a, b, i = 0;
  3. for (a=0; a<3; a++){
  4. for(b=0; b <3; b++){
  5. var[a][b] = i;
  6. i++;
  7. }
  8. }
  9. }
Add Comment
Please, Sign In to add comment