mardi 2 février 2016

Random Integer between 2 separate intervals [duplicate]

This question already has an answer here:

I have the following question.

How can you generate a random Integer between e.g. 1-7 and 10-26

I think it's quite easy but I don't seem to find a solution.

I apologize if my question has already been asked.

I'd appreciate any kind of help :)




Aucun commentaire:

Enregistrer un commentaire