|
So basically your saying that there is no way to have something to consistently return true 6% of the time? I was just using 100 times as the trial because then if it returned 6 trues out of the 100 consistently then i know that it is 6% because 6 / 100 is .06 which is 6%. But your saying that if i do it more then that or less then the answer will vary? So basically there is no way to return true exactly 6% of the time and false every other time? Ok, then i will just use the random numbers i had in the beginning that will on average return true 6% of the time, if there is no more exact way to do it, which if im understanding it, there isnt. The requirement is to have a method that returns true 6% of the time and false all other times.
|