Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class CheckForAPlayCard
- {
- static void Main()
- {
- Console.Write("Enter your sign: ");
- string sign = Console.ReadLine();
- switch (sign)
- {
- case "2":
- case "3":
- case "4":
- case "5":
- case "6":
- case "7":
- case "8":
- case "9":
- case "10":
- case "J":
- case "Q":
- case "K":
- case "A":
- Console.WriteLine("yes");
- break;
- default: Console.WriteLine("no");
- break;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement