Dear forum members,
It’s not my intention to re-invent the wheel creating this Function with an int type input parameter (the max int number to choose), e.g. 40
The chosen random number will be from 1 to 40 in this example. The exit variable will be int type as well.
How would you code such a function for a Swift Library?
Thank you for your suggestions or pointing links to this piece of code.