My problem is creating a function or storing them in a function but calling upon those arrays to bring into main. So I created the function and started off with my smallest array to see if I can get it to work first before bringing anything else over. Sadly it did not work I brought array and its contents over to the function and tried to call up that specific array and bring into another function called PlayGame. Here is what I did in pictures. The code I have below is just to show I created the function stored one of my smaller arrays in it and tried but failed to call upon it in PlayGame. The program I felt was too big to put the whole thing in.
Lines 16-24: You can't embed a function inside main(). Move these lines to after line 12.
Lines 32: InitializeVars() is a void function. It doesn't return anything. You can't cout a void.
Also, InitializeVars doesn't take any arguments, so you can't pass WrongChoice to it.
You want to call InitializeVars() at the start of main. Then at line 32 you can: