Initialize an array of characters with 1000 random characters between [a,..z] and [A,..,Z].
Don’t want do this by first generating only characters between [a,..z] and then only characters in [A...Z] but treat all 52 characters equally.
One way to do this is to generate a random number between 0 and 51 and assign it one of the character values.
How would I approach this problem?
Aucun commentaire:
Enregistrer un commentaire