To make this into a true object oriented program, we should consider a deck of cards to be an object. The first is the constructor which builds a deck of cards. This constructors sets the size of the deck and creates new cards to fill the deck. The next function places cards at the bottom of the deck. And the draw function picks a random card from the deck.
Lets create two objects of type Deck.
One will be full and the other empty. We will shuffle the deck by drawing random cards from deck one and place them in deck two. Make sure it works befor you start your project.