generating random numbers

I'm trying to generate two different random numbers in the same function but it only generates one random number and assigns the same number to each different variable how am i going to pick two diferent random numbers in same function

help pleasee!!
One thread per question, please.
Topic archived. No new replies allowed.