Whenever you are working with vectors, it is convenient to have a function that prints the contents of the vector. We have seen the pattern for traversing a vector several times, so the following function should be familiar:
A Euchre Deck contains 9’s, 10’s, Jacks, Queens, Kings, and Aces of all four suits. Modify the buildDeck function below to create a Euchre deck. The printDeck function will allow you to verify that you have done this correctly.
Hopefully you took some time to try and figure out the code yourself. The solution below is just one of several correct solutions for creating the Euchre deck: