Hi,
I got 5 random number:
srandom(time(NULL));
luku = random() % 70 + 1;
luku2 = random() % 70 + 1;
luku3 = random() % 70 + 1;
luku4 = random() % 70 + 1;
luku5 = random() % 70 + 1;
What would be the best and easiest way to check that all numbers are different numbers?
I got 5 random number:
srandom(time(NULL));
luku = random() % 70 + 1;
luku2 = random() % 70 + 1;
luku3 = random() % 70 + 1;
luku4 = random() % 70 + 1;
luku5 = random() % 70 + 1;
What would be the best and easiest way to check that all numbers are different numbers?