I am a little confused with how to get this method to determine what the best choice is for the number of aces that should be counted as 1 or 11. I will post the method and the code so you can run it. Any help is greatly appreciated
Code:
public static int weHaveAces(int player[], int deal[])
{
int plyttl = 0;
for(int x = 0; x < player.length - 1;x++)
{
plyttl += player[x];
System.out.println(plyttl);