Random number generator

Hey people I am trying to create a random number generator and I want to make possible to generate only odd or only even numbers. I have tried multiple times but still can not make it work. Can you guys help me?
The app takes numbers from 2 text boxes and generates a random number between them.

...just test the result of randomisation and if it does not fit your rule (e.g. only odd), run the function again.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.