srand(time(NULL)); for (i = 0; i < 90; i++) { int nros = rand() % 90+1; printf ("%d\n", nros); getch(); }