Hey everyone I'm writing a program that simulates a blackjack game not a playable game but one to find the statistics if you win or lose and find the percents. This is as far as i have gotten and I'm not stuck and at a complete loss. Any ideas or suggestions would be helpful.

//Starts the loop for each trial and prints if its a win or a loss.for ( int i = 1; i <= trials; i++){outcome = blackjack(rand);System.out.println("The player has a " + outcome + "\n"); if ( outcome.equals("win"))wins++; else if (outcome.equals("loss"))losses++; elsepushes++; }

// method computeAces() returns the total current value of all the aces // given the current total and the number of aces, return the total value of the aces. // e.g. total = 7, numAces = 2, returns 12, 1 ace is 11 and the other is 1. // Note: Only 1 ace can be 11.public static int computeAces(int numAces, int cardValue){int cards = cardValue;int ace = 1; if (cards+ace<=21)ace=11; else ace=1;numAces=ace; return numAces; }

// methods printCurrentPlayerHand() and printCurrentDealerHand()// In printCurrentDealerHand if the hole card is an ace, it is not counted in the number of aces.public static void printCurrentPlayerHand(int a, int b , int c){