C-Exercises/73Jogo_do_bicho.c
void createAnimals(char animals[25][4][3]) {
	char n_string[5];
	int n = 1;
	
	for (int i = 0; i < 25; i++) { 	// qtt groups
		for (int j = 0; j < 4; j++) {	// qtt numb per group
			if (i == 24 && j == 3) {
				strcpy(animals[i][j], "00");
			} else {
				itoa(n, n_string, 10); // int to string in decimal
				strcpy(animals[i][j], n_string);
			}
			n++;
		}
	}
}
/*
	Aluno: Matheus da Costa da Silva
	Matricula: 1074819
*/
Matheus da Costa da Silva
Matricula: 1074819
Matheus da Costa da Silva Matricula : 1074819
void createAnimals(char animals[25][4][3]) {
	char n_string[5];
	int n = 1;
	for (int i = 0; i < 25; i++) { 	
		for (int j = 0; j < 4; j++) {	
			if (i == 24 && j == 3) {
				strcpy(animals[i][j], "00");
			} else {
				itoa(n, n_string, 10); 
				strcpy(animals[i][j], n_string);
			}
			n++;
		}
	}
}
void createAnimals ( char animals [ 25 ] [ 4 ] [ 3 ] ) { char n_string [ 5 ] ; int n = 1 ; for ( int i = 0 ; i < 25 ; i ++ ) { for ( int j = 0 ; j < 4 ; j ++ ) { if ( i == 24 && j == 3 ) { strcpy ( animals [ i ] [ j ] , " " ) ; } else { itoa ( n , n_string , 10 ) ; strcpy ( animals [ i ] [ j ] , n_string ) ; } n ++ ; } } }
Aluno: Matheus da Costa da Silva
Matricula: 1074819
Aluno : Matheus da Costa da Silva Matricula : 1074819
// qtt groups
 // qtt numb per group
 // int to string in decimal
