Blackjack: Fixed printing of array

This commit is contained in:
Logen Kain 2017-01-21 22:02:48 -07:00
parent b9331569c2
commit 75e6fcea62

View File

@ -39,7 +39,7 @@ int main (int argc, char *argv[])
void print_deck(int *deckOfCards){
int i;
for (i = 0; i<CARD_MAX; i++){
for (i = 0; i<=CARD_MAX; i++){
printf("%d\n", deckOfCards[i]);
}
}