And some steps?
I found something like this,is this a good start?
''To pick lotto numbers, you make a pool (an array) of available numbers, pick one of them (an index) at random, and remove that number from the pool, by swapping it with the top one and then decreasing the number of items available. If you want a different selection each run, you call srand(time(NULL)) once at the start of the program. If you want to debug the same sequence, don't.''