In a small application written in C/C++, I am facing a problem with the rand function and maybe the seed :
rand
I want to produce a sequence of random numbers th
There are only 3% of numbers between 1 and 230 which are NOT between 225 and 230. So, this sounds pretty normal :)
Because 225 / 230 = 2-5 = 1/32 = 0.03125 = 3.125%