Kód: Vybrat vše
srand((unsigned) time(NULL));
do {
pok++;
i=rand() % 50;
printf("Pokus %d. tazene cislo: %d\n",pok,i);
}while(pok!=6);
Kód: Vybrat vše
srand((unsigned) time(NULL));
do {
pok++;
i=rand() % 50;
printf("Pokus %d. tazene cislo: %d\n",pok,i);
}while(pok!=6);
Zpět na “Programování a tvorba webu”
Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 24 hostů