I have no idea where to begin but I need it started with JUST these codes.
Please help thanks
Enter the following source, which will set up the 2D array and the recommended variable declarations. It is up to the student to design and implement the remainder of the program code.
// Programmer: (put your name here)
// Course: COMP220
// Assignment: Two-Dimensional Arrays
// Description: The program will use a 2D array and a random-number
// generation to play Blackjack and keep track of a playing-card deck.
// Input: User data entry and a playing-card deck represented as a two-
// dimensional array
// Output: A screen display showing the current card hands of each player
// and the dealer, their score, win and lose status, and a final representation
// of the card deck after the game is over
// ASCII character display reference for display card suit symbols
//3 = heart symbol
//4 = diamond symbol
//5 = club symbol
//6 = spade symbol
int iNumberOfPlayers = 0;//Number of players in current game
int iPlayerCount[5]; //Integer array to holder each player's count
//iPlayer[0] is always the dealer
int iHighestCount = 0; //Highest count for a single game
int k, m; //integer loop counters
srand(GetTickCount()); //Seed the random-number generator
//Main game loop
//Enter your code here…
Here is a sample of the finished program’s output.
Welcome to Honest Sam's Blackjack Table
Glad to have you back!
Enter the number of players in the game.
There must be at least one player but no more than four.
Number of players: 3
Dealer Player 1 Player 2 Player 3
Card 1: 5♣ 7♠ 4♥ Q♥
Card 2: 5♠ K♥ 5♥ 2♠
Card 3: J♥ 4♠ 6♣ 10♥
Card 4: Hold Hold Q♣ Hold
Card 5: Hold Hold Hold Hold
Not sure how detailed you want to be with this code because you haven't actually written a lot. Here is a blackjack game (in js) I wrote a while back on codeacademy you might get some ideas: