title: random number between multiple ranges in c
body: <p>I want to generate a random number between multiple ranges in C. Also I want to take the input from user for the number of ranges. I do have a function for generating random number within one range, can I use that function to generate such multiple ranges? Please Help.</p>