I'm trying to generate two different random numbers in the same function but it only generates one and assigns the same number to each different variable. how can i pick two different random numbers for different variables in the same function??
one more thing can i use this function( assigning random values to variables) more than one time in the main function
for example i want to generate 100 points but doing it with a for loop doesnt work! the points are all the same