As title says I am trying to generate a random character that has to be either a number or an alphabetic letter and I can't come up with an efficient way to do it.
Edit: Since I am using pseudo-code (and it's handwritten) making a string/array out of all possible values may not be a very good choice.
I was thinking about generating a random integer that matches the ascii code of letters and digits but I could not find a proper way to do it since they're not consecutive.