views:

44

answers:

1

Hi

I know I can get a random number for example from 0 to 700 using:

arc4random() % 362

But how can I get a random number in between for example 200 to 300?

Thanks.

+6  A: 

(arc4random() % 100) + 200

kovpas