offer = (number / 20) * ( a random number from 20 -35 only)
how to make it random
offer = (number / 20) * ( a random number from 20 -35 only)
how to make it random
Try this web..
http://eternallyconfuzzled.com/arts/jsw_art_rand.aspx
Searching on the forum..
Code:int randrange(int min, max) { return rand() % (max - min + 1) + min; }