public static void Main()
Random rG = new Random();
Console.WriteLine("Welcome to BlackJack");
Console.Write("Enter your bet amount: ");
int bet = Convert.ToInt32(Console.ReadLine());
Console.Write("How many cards do you want (2-4)? ");
int playercard = Convert.ToInt32(Console.ReadLine());
playerscore += rG.Next(1, 11);
Console.WriteLine("Your First Card: " + playerscore);
playerscore += rG.Next(1, 11);
Console.WriteLine("Your Second Card: " + playerscore);
playerscore += rG.Next(1, 11);
Console.WriteLine("Your First Card: " + playerscore);
playerscore += rG.Next(1, 11);
Console.WriteLine("Your Second Card: " + playerscore);
playerscore += rG.Next(1, 11);
Console.WriteLine("Your Third Card: " + playerscore);
playerscore += rG.Next(1, 11);
Console.WriteLine("Your First Card: " + playerscore);
playerscore += rG.Next(1, 11);
Console.WriteLine("Your Second Card: " + playerscore);
playerscore += rG.Next(1, 11);
Console.WriteLine("Your Third Card: " + playerscore);
playerscore += rG.Next(1, 11);
Console.WriteLine("Your Fourth Card: " + playerscore);
Console.WriteLine("Your Total Score: " + playerscore);
computerscore += rG.Next(1, 11);
Console.WriteLine("Computer's First Card: " + computerscore);
computerscore += rG.Next(1, 11);
Console.WriteLine("Computer's Second Card: " + computerscore);
computerscore += rG.Next(1, 11);
Console.WriteLine("Computer's Third Card: " + computerscore);
Console.WriteLine("Computer's Total Score: " + computerscore);
Console.WriteLine("You busted Computer wins");
else if (computerscore > 21)
Console.WriteLine("Computer busted you win!");
else if (playerscore > computerscore)
Console.WriteLine("Your One Lucky Duck!");
Console.WriteLine("Computer wins");
Console.WriteLine("Total Balance $" + bet);