I have written a simple little math game. I only seed the srand() once but out of 25 uses of rand(), I must get 3 or 4 numbers come back 3 or 4 times.

Is there a way to make sure numbers are not duplicated when using the rand(). It doesn't seem so random