using System;
public class Program
{
public static void Main()
Random NumberGen = new Random();
int roll = 0;
int attempts = 0;
while(roll != 6)
roll = NumberGen.Next( 1, 7);
Console.WriteLine("You rolled: " + roll);
attempts++;
}
Console.WriteLine("It took you " + attempts + " attempts to roll a six");