GabrielAlmd

Untitled

Nov 24th, 2020 (edited)
596
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void imprimeGrelha(char grid[N][N])
  2. {
  3.     //cria a grelha e imprime o tabuleiro
  4.     printf(" %c | %c | %c \n--- --- ---\n %c | %c | %c \n--- --- ---\n %c | %c | %c \n", grid[0][0], grid[0][1], grid[0][2], grid[1][0], grid[1][1], grid[1][2],  grid[2][0], grid[2][1], grid[2][2]);
  5.  
  6. }
RAW Paste Data