I want to create a program which prompts the user for an amount of random numbers to generate (between 1 and 20). The program then generates the amount of numbers between (1 and 40). The numbers generated should all be unique.
I don't know how to get them to produce a unique number.