Generate random integer

Hi, anyone know how to generate random integer with a range in arduino code?

have a look at the random() function in the documentation (and associated randomSeed())

This is NOT an introductory tutorial.