public static void Main()
Console.WriteLine("Welcome to the coin toss game! ");
Console.WriteLine("Flip the coin and try to guess which side it will land on. You will have 10 tries. Lets go!!! ");
Console.WriteLine("Please input your name: ");
name = Console.ReadLine();
Random randoms = new Random();
for (int i =1; i <= 10; i++)
rand = randoms.Next(0, 2);
Console.WriteLine("rand is " + rand);
Console.WriteLine(name + " 0 is for Heads and 1 is for tails ");
Console.WriteLine(name + " please guess Heads or Tails by selecting 0 for heads and 1 for Tails! ");
choice = int.Parse(Console.ReadLine());
Console.WriteLine(name + " Congrats, you got it!!! ");
Console.WriteLine(name + " Sorry, you didn't get it. Try again ");
Console.WriteLine(" Congrats! " + name + " You got it, you had " + success + " success ");
Console.WriteLine(" Sorry! " + name + " You did not get it, please try again" + " you had " + success + " success ");
Console.WriteLine(" Sorry! " + name + " You did not get it, please try again" + " you had " + success + " success ");