I'm trying to generate a word with a specific set of letters.
The first letter of the word must contain the letters P,G,T,K the second A,E,I,O,U
I have tried generating them with the code blow with no success. Once I store all of these random letters as variables I will then join them together to make the randomized word
letter1 = rand(80,84,75,71).chr
letter2 = rand(97,101,105,111,117,121).chr
name = letter1 + letter2 + letter2 + letter1 + letter2
puts name