Guest User

Untitled

a guest
Apr 18th, 2021
340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.48 KB | None | 0 0
  1. using System;
  2. using System.Linq;
  3. using System.Collections.Generic;
  4.  
  5. namespace PrintDeckOfCards
  6. {
  7. class Program
  8. {
  9. static void Main()
  10. {
  11. string input = Console.ReadLine();
  12.  
  13. switch (input)
  14. {
  15. case "2":
  16. Console.WriteLine("2 of spades, 2 of clubs, 2 of hearts, 2 of diamonds");
  17. break;
  18. case "3":
  19. Console.WriteLine("2 of spades, 2 of clubs, 2 of hearts, 2 of diamonds");
  20. Console.WriteLine("3 of spades, 3 of clubs, 3 of hearts, 3 of diamonds");
  21. break;
  22. case "4":
  23. Console.WriteLine("2 of spades, 2 of clubs, 2 of hearts, 2 of diamonds");
  24. Console.WriteLine("3 of spades, 3 of clubs, 3 of hearts, 3 of diamonds");
  25. Console.WriteLine("4 of spades, 4 of clubs, 4 of hearts, 4 of diamonds");
  26. break;
  27. case "5":
  28. Console.WriteLine("2 of spades, 2 of clubs, 2 of hearts, 2 of diamonds");
  29. Console.WriteLine("3 of spades, 3 of clubs, 3 of hearts, 3 of diamonds");
  30. Console.WriteLine("4 of spades, 4 of clubs, 4 of hearts, 4 of diamonds");
  31. Console.WriteLine("5 of spades, 5 of clubs, 5 of hearts, 5 of diamonds");
  32. break;
  33. case "6":
  34. Console.WriteLine("2 of spades, 2 of clubs, 2 of hearts, 2 of diamonds");
  35. Console.WriteLine("3 of spades, 3 of clubs, 3 of hearts, 3 of diamonds");
  36. Console.WriteLine("4 of spades, 4 of clubs, 4 of hearts, 4 of diamonds");
  37. Console.WriteLine("5 of spades, 5 of clubs, 5 of hearts, 5 of diamonds");
  38. Console.WriteLine("6 of spades, 6 of clubs, 6 of hearts, 6 of diamonds");
  39. break;
  40. case "7":
  41. Console.WriteLine("2 of spades, 2 of clubs, 2 of hearts, 2 of diamonds");
  42. Console.WriteLine("3 of spades, 3 of clubs, 3 of hearts, 3 of diamonds");
  43. Console.WriteLine("4 of spades, 4 of clubs, 4 of hearts, 4 of diamonds");
  44. Console.WriteLine("5 of spades, 5 of clubs, 5 of hearts, 5 of diamonds");
  45. Console.WriteLine("6 of spades, 6 of clubs, 6 of hearts, 6 of diamonds");
  46. Console.WriteLine("7 of spades, 7 of clubs, 7 of hearts, 7 of diamonds");
  47. break;
  48. case "8":
  49. Console.WriteLine("2 of spades, 2 of clubs, 2 of hearts, 2 of diamonds");
  50. Console.WriteLine("3 of spades, 3 of clubs, 3 of hearts, 3 of diamonds");
  51. Console.WriteLine("4 of spades, 4 of clubs, 4 of hearts, 4 of diamonds");
  52. Console.WriteLine("5 of spades, 5 of clubs, 5 of hearts, 5 of diamonds");
  53. Console.WriteLine("6 of spades, 6 of clubs, 6 of hearts, 6 of diamonds");
  54. Console.WriteLine("7 of spades, 7 of clubs, 7 of hearts, 7 of diamonds");
  55. Console.WriteLine("8 of spades, 8 of clubs, 8 of hearts, 8 of diamonds");
  56. break;
  57. case "9":
  58. Console.WriteLine("2 of spades, 2 of clubs, 2 of hearts, 2 of diamonds");
  59. Console.WriteLine("3 of spades, 3 of clubs, 3 of hearts, 3 of diamonds");
  60. Console.WriteLine("4 of spades, 4 of clubs, 4 of hearts, 4 of diamonds");
  61. Console.WriteLine("5 of spades, 5 of clubs, 5 of hearts, 5 of diamonds");
  62. Console.WriteLine("6 of spades, 6 of clubs, 6 of hearts, 6 of diamonds");
  63. Console.WriteLine("7 of spades, 7 of clubs, 7 of hearts, 7 of diamonds");
  64. Console.WriteLine("8 of spades, 8 of clubs, 8 of hearts, 8 of diamonds");
  65. Console.WriteLine("9 of spades, 9 of clubs, 9 of hearts, 9 of diamonds");
  66. break;
  67. case "10":
  68. Console.WriteLine("2 of spades, 2 of clubs, 2 of hearts, 2 of diamonds");
  69. Console.WriteLine("3 of spades, 3 of clubs, 3 of hearts, 3 of diamonds");
  70. Console.WriteLine("4 of spades, 4 of clubs, 4 of hearts, 4 of diamonds");
  71. Console.WriteLine("5 of spades, 5 of clubs, 5 of hearts, 5 of diamonds");
  72. Console.WriteLine("6 of spades, 6 of clubs, 6 of hearts, 6 of diamonds");
  73. Console.WriteLine("7 of spades, 7 of clubs, 7 of hearts, 7 of diamonds");
  74. Console.WriteLine("8 of spades, 8 of clubs, 8 of hearts, 8 of diamonds");
  75. Console.WriteLine("9 of spades, 9 of clubs, 9 of hearts, 9 of diamonds");
  76. Console.WriteLine("10 of spades, 10 of clubs, 10 of hearts, 10 of diamonds");
  77. break;
  78. case "J":
  79. Console.WriteLine("2 of spades, 2 of clubs, 2 of hearts, 2 of diamonds");
  80. Console.WriteLine("3 of spades, 3 of clubs, 3 of hearts, 3 of diamonds");
  81. Console.WriteLine("4 of spades, 4 of clubs, 4 of hearts, 4 of diamonds");
  82. Console.WriteLine("5 of spades, 5 of clubs, 5 of hearts, 5 of diamonds");
  83. Console.WriteLine("6 of spades, 6 of clubs, 6 of hearts, 6 of diamonds");
  84. Console.WriteLine("7 of spades, 7 of clubs, 7 of hearts, 7 of diamonds");
  85. Console.WriteLine("8 of spades, 8 of clubs, 8 of hearts, 8 of diamonds");
  86. Console.WriteLine("9 of spades, 9 of clubs, 9 of hearts, 9 of diamonds");
  87. Console.WriteLine("10 of spades, 10 of clubs, 10 of hearts, 10 of diamonds");
  88. Console.WriteLine("J of spades, J of clubs, J of hearts, J of diamonds");
  89. break;
  90. case "Q":
  91. Console.WriteLine("2 of spades, 2 of clubs, 2 of hearts, 2 of diamonds");
  92. Console.WriteLine("3 of spades, 3 of clubs, 3 of hearts, 3 of diamonds");
  93. Console.WriteLine("4 of spades, 4 of clubs, 4 of hearts, 4 of diamonds");
  94. Console.WriteLine("5 of spades, 5 of clubs, 5 of hearts, 5 of diamonds");
  95. Console.WriteLine("6 of spades, 6 of clubs, 6 of hearts, 6 of diamonds");
  96. Console.WriteLine("7 of spades, 7 of clubs, 7 of hearts, 7 of diamonds");
  97. Console.WriteLine("8 of spades, 8 of clubs, 8 of hearts, 8 of diamonds");
  98. Console.WriteLine("9 of spades, 9 of clubs, 9 of hearts, 9 of diamonds");
  99. Console.WriteLine("10 of spades, 10 of clubs, 10 of hearts, 10 of diamonds");
  100. Console.WriteLine("J of spades, J of clubs, J of hearts, J of diamonds");
  101. Console.WriteLine("Q of spades, Q of clubs, Q of hearts, Q of diamonds");
  102. break;
  103. case "K":
  104. Console.WriteLine("2 of spades, 2 of clubs, 2 of hearts, 2 of diamonds");
  105. Console.WriteLine("3 of spades, 3 of clubs, 3 of hearts, 3 of diamonds");
  106. Console.WriteLine("4 of spades, 4 of clubs, 4 of hearts, 4 of diamonds");
  107. Console.WriteLine("5 of spades, 5 of clubs, 5 of hearts, 5 of diamonds");
  108. Console.WriteLine("6 of spades, 6 of clubs, 6 of hearts, 6 of diamonds");
  109. Console.WriteLine("7 of spades, 7 of clubs, 7 of hearts, 7 of diamonds");
  110. Console.WriteLine("8 of spades, 8 of clubs, 8 of hearts, 8 of diamonds");
  111. Console.WriteLine("9 of spades, 9 of clubs, 9 of hearts, 9 of diamonds");
  112. Console.WriteLine("10 of spades, 10 of clubs, 10 of hearts, 10 of diamonds");
  113. Console.WriteLine("J of spades, J of clubs, J of hearts, J of diamonds");
  114. Console.WriteLine("Q of spades, Q of clubs, Q of hearts, Q of diamonds");
  115. Console.WriteLine("K of spades, K of clubs, K of hearts, K of diamonds");
  116. break;
  117. case "A":
  118. Console.WriteLine("2 of spades, 2 of clubs, 2 of hearts, 2 of diamonds");
  119. Console.WriteLine("3 of spades, 3 of clubs, 3 of hearts, 3 of diamonds");
  120. Console.WriteLine("4 of spades, 4 of clubs, 4 of hearts, 4 of diamonds");
  121. Console.WriteLine("5 of spades, 5 of clubs, 5 of hearts, 5 of diamonds");
  122. Console.WriteLine("6 of spades, 6 of clubs, 6 of hearts, 6 of diamonds");
  123. Console.WriteLine("7 of spades, 7 of clubs, 7 of hearts, 7 of diamonds");
  124. Console.WriteLine("8 of spades, 8 of clubs, 8 of hearts, 8 of diamonds");
  125. Console.WriteLine("9 of spades, 9 of clubs, 9 of hearts, 9 of diamonds");
  126. Console.WriteLine("10 of spades, 10 of clubs, 10 of hearts, 10 of diamonds");
  127. Console.WriteLine("J of spades, J of clubs, J of hearts, J of diamonds");
  128. Console.WriteLine("Q of spades, Q of clubs, Q of hearts, Q of diamonds");
  129. Console.WriteLine("K of spades, K of clubs, K of hearts, K of diamonds");
  130. Console.WriteLine("A of spades, A of clubs, A of hearts, A of diamonds");
  131. break;
  132. }
  133. }
  134. }
  135. }
Advertisement
Add Comment
Please, Sign In to add comment