Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*Напишете програма, която отпечатва всички възможни карти от стан-
- дартно тесте карти без джокери (имаме 52 карти: 4 бои по 13 карти).
- */
- using System;
- class Cards
- {
- static void Main()
- {
- string[] colors = {"Clubs", "Diamonts", "Hearts", "Spades"};
- string[] cards = {"Ace", "2", "3", "4", "5", "6", "7", "8", "9", "10", "Jack", "Queen", "King"};
- for (int i = 0; i < 4; i++)
- {
- Console.WriteLine(colors[i]);
- for (int j = 0; j < 13; j++)
- {
- Console.WriteLine(cards[j]);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement