import java.util.*;

/**
 * A driver for experimenting with the PlayingCard
 * class and the Comparable interface
 */
public class Driver
{
    /**
     * The entry point
     *
     * @param args   The command-line arguments
     */
    public static void main(String[] args)
    {
			int                    i;
			PlayingCard[]          cards;



	// Construct the cards
		cards = new PlayingCard[5];
		cards[0] = new PlayingCard(Card.CLUBS,    Card.ACE);
		cards[1] = new PlayingCard(Card.CLUBS,    4);
		cards[2] = new PlayingCard(Card.DIAMONDS, Card.QUEEN);
		cards[3] = new PlayingCard(Card.SPADES,   Card.ACE);
		cards[4] = new PlayingCard(Card.HEARTS,   4);



			// Print the cards in the original order
		for (i=0; i < cards.length; i++)
		{
		    System.out.println(cards[i]);
		}
		System.out.println("\n\n");

			// Sort the accounts
		Arrays.sort(cards);


			// Print the accounts in the sorted order
		for (i=0; i < cards.length; i++)
		{
	  	  System.out.println(cards[i]);
		}
		
	// Add code here for Part II
	
	// first make a deck of cards
	
	// create a hand of 5 cards
	
	// fill the hand with 5 random cards from the deck
	
	// get rid of the third card (since we don't know in advance)
	
	// display new hand
	
    }
	
}
