random number gen and variables

Tell me how to make multiple variables at once, this is really messy