I need a way to pick a random number between 7-11.
I know how to pick a random number based on the simple "random(#)" expression, but how would i go about narrowing the range to something very specific?
I have several ranges that need to be determined, like 12-16, 17-22, 23-28.
This is for iOS.
Thanks for any help or guidance you can offer.