Mock library for simulating decks of cards
-
Updated
Jun 13, 2018 - C
Mock library for simulating decks of cards
You are given a deck containing n cards. While holding the deck: 1. Take the top card off the deck and set it on the table 2. Take the next card off the top and put it on the bottom of the deck in your hand. 3. Continue steps 1 and 2 until all cards are on the table. This is a round. 4. Pick up the deck from the table and repeat steps 1-3 until …
Exercises with language C
Add a description, image, and links to the deckofcards topic page so that developers can more easily learn about it.
To associate your repository with the deckofcards topic, visit your repo's landing page and select "manage topics."