Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class PrintADeckOf52Cards
- {
- static void Main()
- {
- string[] card = {"2","3","4","5","6","7","8","9","10","J","Q","K","A" };
- string[] color = { "♣", "♦", "♥", "♠" };
- for (int y = 0; y < card.Length; y++)
- {
- for (int i = 0; i < color.Length; i++)
- Console.Write("{0}", (card[y] + color[i]));
- Console.WriteLine();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment