Sign in to follow this  

how to set the minimum and maximum range of random number

Recommended Posts

hi, How to set the random number between 150 to 250 I think i know how to set the maximum of the random number it should be, rand()%250 but can anyone tell me how to set the minimum random number Thanks

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this