#include<stdio.h>
#include<stdlib.h>
#include<time.h>

int main()
{
    const int n_numbers = 49;
    srand(time(0));
	
	printf("Les numéros gagnants sont : ");
	printf("%d, ", rand()%n_numbers + 1);
	printf("%d, ", rand()%n_numbers + 1);
	printf("%d, ", rand()%n_numbers + 1);
	printf("%d, ", rand()%n_numbers + 1);
	printf("%d, ", rand()%n_numbers + 1);
	printf("%d\n", rand()%n_numbers + 1);
	
	//system("pause");            //decommente si le terminal se ferme
	return 0;
}
