Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main(int argc, char *argv[]) {
- //=======================================================================================================================|
- srand(time(NULL));
- for (int x=1; x<=50; x++)
- {
- int liczba_wylosowana[50], poczatek_przedzialu, koniec_przedzialu;
- poczatek_przedzialu = 1;
- koniec_przedzialu = 10;
- liczba_wylosowana[x] = poczatek_przedzialu + rand() % (koniec_przedzialu - poczatek_przedzialu + 1);
- }
- //=======================================================================================================================|
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement