public static void Main()
Console.WriteLine("Dice Pair Probability Stats");
Console.WriteLine(new String('=',40));
Console.WriteLine("How many times would you like to roll the pair of dice?");
int amt = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Invalid roll amount... Restarting program");
Random rG = new Random();
int [] rollList = new int [13];
double pc2 = (double)rollList[2]/amt;
double pc3 = (double)rollList[3]/amt;
double pc4 = (double)rollList[4]/amt;
double pc5 = (double)rollList[5]/amt;
double pc6 = (double)rollList[6]/amt;
double pc7 = (double)rollList[7]/amt;
double pc8 = (double)rollList[8]/amt;
double pc9 = (double)rollList[9]/amt;
double pc10 = (double)rollList[10]/amt;
double pc11 = (double)rollList[11]/amt;
double pc12 = (double)rollList[12]/amt;
Console.WriteLine("The percentage of 2's rolled was " + Math.Round(pc2*100, 2) + "%");
Console.WriteLine("The percentage of 3's rolled was " + Math.Round(pc3*100, 2) + "%");
Console.WriteLine("The percentage of 4's rolled was " + Math.Round(pc4*100, 2) + "%");
Console.WriteLine("The percentage of 5's rolled was " + Math.Round(pc5*100, 2) + "%");
Console.WriteLine("The percentage of 6's rolled was " + Math.Round(pc6*100, 2) + "%");
Console.WriteLine("The percentage of 7's rolled was " + Math.Round(pc7*100, 2) + "%");
Console.WriteLine("The percentage of 8's rolled was " + Math.Round(pc8*100, 2)+ "%");
Console.WriteLine("The percentage of 9's rolled was " + Math.Round(pc9*100, 2) + "%");
Console.WriteLine("The percentage of 10's rolled was " + Math.Round(pc10*100, 2) + "%");
Console.WriteLine("The percentage of 11's rolled was " + Math.Round(pc11*100, 2) + "%");
Console.WriteLine("The percentage of doubles's rolled was " + Math.Round(pc12*100, 2) + "%");
Console.WriteLine(new String('=',40));
Console.WriteLine("Would you like to restart the simulator?");
string againBool = Console.ReadLine();
if (againBool.Substring(0,1).ToUpper() == "Y")
Console.WriteLine("Restarting program...");
else if (againBool.Substring(0,1).ToUpper() == "N")
Console.WriteLine("The program has ended.");
Console.WriteLine("Would you like to restart the program or not? Please input a valid answer!");