public static void Main()
Console.WriteLine("How many times would you like to roll the dice?");
string x = Console.ReadLine();
if (ulong.TryParse(x, out rolls))
Console.Write("The numbers are " + rolls + " times are: ");
decimal count2 = 0, count3 = 0, count4 = 0, count5 = 0, count6 = 0, count7 = 0, count8 = 0, count9 = 0, count10 = 0, count11 = 0, count12 = 0;
for (ulong i = 1; i <= rolls;i++)
decimal q = r.Next(2,13);
decimal percent2 = (count2/rolls)*100M;
Console.WriteLine("The percentage of items that 2 was rolled " + percent2.ToString(".##")+ "%");
decimal percent3 = (count3/rolls)*100M;
Console.WriteLine("The percentage of items that 3 was rolled " + percent3.ToString(".##")+ "%");
decimal percent4 = (count4/rolls)*100M;
Console.WriteLine("The percentage of items that 4 was rolled " + percent4.ToString(".##")+ "%");
decimal percent5 = (count5/rolls)*100M;
Console.WriteLine("The percentage of items that 5 was rolled " + percent5.ToString(".##")+ "%");
decimal percent6 = (count6/rolls)*100M;
Console.WriteLine("The percentage of items that 6 was rolled " + percent6.ToString(".##")+ "%");
decimal percent7 = (count7/rolls)*100M;
Console.WriteLine("The percentage of items that 7 was rolled " + percent7.ToString(".##")+ "%");
decimal percent8 = (count8/rolls)*100M;
Console.WriteLine("The percentage of items that 8 was rolled " + percent8.ToString(".##")+ "%");
decimal percent9 = (count9/rolls)*100M;
Console.WriteLine("The percentage of items that 9 was rolled " + percent9.ToString(".##")+ "%");
decimal percent10 = (count10/rolls)*100M;
Console.WriteLine("The percentage of items that 10 was rolled " + percent10.ToString(".##")+ "%");
decimal percent11 = (count11/rolls)*100M;
Console.WriteLine("The percentage of items that 11 was rolled " + percent11.ToString(".##")+ "%");
decimal percent12 = (count12/rolls)*100M;
Console.WriteLine("The percentage of items that 12 was rolled " + percent12.ToString(".##")+ "%");