Chapter 3 - Printing the Deck of Cards by Using a for Loop
section 1
Code:
for (int i=0; i<52; i++) {
printf(âThe card is %s of %s\nâ, deck[i].value, deck[i].suit);
}
should be
Code:
for (int i=0; i<52; i++) {
printf(âThe card is %s of %s\nâ, deck[i].name, deck[i].suit);
}