where can i get the code to make a random number. it must be for 7 digits between 0 and 7. it must be efficient comented romantic and in c.
If you want truly random numbers, then you will have to take input from some truly random process; ie, some kind of physical process.
There are very many possibilities, including some components specifically designed for this purpose (as "noise sources") - again, an internet search will bring you plenty of information on this very well worn topic...
I'll have to start writing small poems into my code.
There was a young man from Dundee Who wrote software - he programmed in 'C' "Assembler is better" Said a management jet-setter Repeating something he'd watched on TV!