Good I'm working on a project to manage a 21, where I have to generate a random arrangement that tells me a value
int[] Cartas = new int[5];
then another one that handles me the amount of letters
'int[] CantidadCartas = new int[13];'
and one that gives me the value of the letter
int valorCartas[]={2,3,4,5,6,7,8,9,10,10,10,11};
According to the arrangement given to it by Letters by a random method, the number of letters starts counting so that it does not repeat but I do not succeed as if the letters arrangement comes out pos 0 and 4 send me the value that is in that position of the value arrangement. I appreciate the help.