I am trying to write a function which selects a value say between 2 and 10 randomly after each run but i cannot understand how to use the Srand function and rand() function.Please Help
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.