mercredi 10 juin 2015

Array of random numbers with sum in given range?

In C, how do I get an array of n numbers (each 0x00-0xFF in my case), of which the sum is within a given range (0-k)?




Aucun commentaire:

Enregistrer un commentaire