public static void SomeMethod()
Console.Write("\nWrite H/h to guess Heads, T/t to guess Tails, or Q/q to quit => ");
while ((userChoice = Convert.ToChar(Console.ReadLine())).ToString().ToLower() != "q")
int compChoice = new Random().Next(2);
if (userChoice == 'H' || userChoice == 'h')
Console.WriteLine("\nYOU WON");
Console.WriteLine("\nYOU LOSE");
if (userChoice == 'T' || userChoice == 't')
Console.WriteLine("\nYOU WON");
Console.WriteLine("\nYOU LOSE");
percentWin = (double)numWins / numPlays;
Console.WriteLine("\nYou won {0} out of {1} game(s) or {2:P} of the games played.", numWins, numPlays, percentWin);