Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
SingleDelegate
StopJoin.cs
How To Get Discord Nitro For Free
1.3 Basics: interfaces
Write a program to sort given array using bubble sort.
Ranges thing
D19
count number of words in string
Testing
Problem: on_off
Please log in to post a comment.