text: how can you write a program that should randomly generate an integer between 1 and 10 ?   us the random number generator function in the programming language you are using..  usually something like rand(0)