# include # include int main(int argc, char** argv) { int pion_x, pion_y; int taille_grille; srand(time(NULL)); printf("Taille de la grille : "); scanf("%d",&taille_grille); putchar('\n'); pion_x = (rand() % taille_grille); pion_y = (rand() % taille_grille); printf("%d, %d\n", pion_x, pion_y); return EXIT_SUCCESS; }