CSC 161 Lab 7-2 Problem Solving Skills using Lists

Solve Problem 5 from from the 2001 Acca Programming Competition .

Use the following strategy. First create an array for the ranks of the cards:

  string [] rank = {"A", "2", "3", ... , "9", "10", "J", "Q", "K"};

Create a list of strings, and then add to the list concatenations of all the rank strings with "S", "H", "D", and "C". Think of the front of the list, the one with index 0, as the top of the list.

This is due Friday of Week 7.