Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Print All Cards
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { char ch = '\u2665'; //Console.WriteLine(ch); char club = '\u2663'; char spade = '\u2660'; char diamond = '\u2666'; char heart = '\u2665'; string card; for (int i = 2; i <= 13; i++) { card = i.ToString(); switch(i) { case 10: card = "J"; break; case 11: card = "Q"; break; case 12: card = "K"; break; case 13: card = "A"; break; } Console.Write(card); Console.Write(club); Console.Write(card); Console.Write(spade); Console.Write(card); Console.Write(diamond); Console.Write(card); Console.Write(heart); Console.WriteLine(); } } } }
run
|
edit
|
history
|
help
0
Конструктор класса
gggsggsgg
Min Max Sum Avg
PrecisionTester
005
conditional Debug
code exple
Learning linq 2
database exterior 0.1
Rand things kurs 8 network