Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class PrintADeckOfPlayCards
- {
- static void Main ()
- {
- string [] facesCards = { "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K", "A" };
- string [] colorsCards = { " of CLUBS", " of DIAMONDS", " of HEARTS", " of SPADES" };
- Console.WriteLine("Standart deck of 52 play cards contain:");
- Console.WriteLine();
- foreach (var face in facesCards)
- {
- foreach (var color in colorsCards)
- {
- Console.Write("{0,3}{1} ", face, color);
- }
- Console.WriteLine();
- }
- Console.ReadLine();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement