Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
To gain a solid understanding of structures and enums.

### Part 1
1. Write a program `cards.c` that implements a deck of cards. Implement the suits as an enum, and the cards as a struct containing the value and suit. Implement a function `drawCard()` to generate a random card and `getSuit()` to print out the the suit properly. In main, draw and print out 5 cards in the following format:
1. Write a program `cards.c` that implements a deck of cards. Implement the suits as an enum, and the cards as a struct containing the value and suit. Implement a function `drawCard()` to generate a random card and `getSuit()` to print out the suit properly. In main, draw and print out 5 cards in the following format:

```
Drawn Cards:
Expand Down