A
Artyom
Hi everybody!
Here's the problem:
I have an array of 4 integer elements and they must be initialized by random
numbers from 0 to 9 that shouldn't repeat. I tried many things, but some
elements (for example, first and third ones) continue repeating. Can you
propose an algorithm that solves this?
Thank you!
Here's the problem:
I have an array of 4 integer elements and they must be initialized by random
numbers from 0 to 9 that shouldn't repeat. I tried many things, but some
elements (for example, first and third ones) continue repeating. Can you
propose an algorithm that solves this?
Thank you!