Hello! I was wondering how to generate random numbers within a given range X and Y using rand. Thanks!! I was thinking that it may be along the lines of
rand() & x+y
however this does not work. Any help would be amazing! Thanks guys and gals!
Hello! I was wondering how to generate random numbers within a given range X and Y using rand. Thanks!! I was thinking that it may be along the lines of
rand() & x+y
however this does not work. Any help would be amazing! Thanks guys and gals!
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.