public static void Main()
Console.WriteLine("How many times would you like to roll?");
string input = Console.ReadLine();
if(decimal.TryParse(input, out number))
{Random r = new Random();
decimal count2 = 0, count3 = 0, count4 = 0, count5 = 0, count6 = 0, count7 = 0, count8 = 0, count9 = 0, count10 = 0, count11 = 0, count12 = 0;
for(decimal i = 1; i<=number; i ++)
{decimal roll = r.Next(2,13);
decimal per1 = count2/number*100M;
decimal per2 = count3/number*100M;
decimal per3 = count4/number*100M;
decimal per4 = count5/number*100M;
decimal per5 = count6/number*100M;
decimal per6 = count7/number*100M;
decimal per7 = count8/number*100M;
decimal per8 = count9/number*100M;
decimal per9 = count10/number*100M;
decimal per10 = count11/number*100M;
decimal per11 = count2/number*100M;
decimal per12 = count3/number*100M;
Console.WriteLine("The percentage of times that you landed on a 2 is: " ,per2.ToString("##.##"), " %.");
Console.WriteLine("The percentage of times that you landed on a 3 is: " ,per3.ToString("##.##"), " %.");
Console.WriteLine("The percentage of times that you landed on a 4 is: " ,per4.ToString("##.##"), " %.");
Console.WriteLine("The percentage of times that you landed on a 5 is: " ,per2.ToString("##.##"), " %.");
Console.WriteLine("The percentage of times that you landed on a 6 is: " ,per3.ToString("##.##"), " %.");
Console.WriteLine("The percentage of times that you landed on a 7 is: " ,per4.ToString("##.##"), " %.");
Console.WriteLine("The percentage of times that you landed on a 8 is: " ,per8.ToString("##.##"), " %.");
Console.WriteLine("The percentage of times that you landed on a 9 is: " ,per9.ToString("##.##"), " %.");
Console.WriteLine("The percentage of times that you landed on a 10 is: " ,per10.ToString("##.##"), " %.");
Console.WriteLine("The percentage of times that you landed on a 11 is: " ,per11.ToString("##.##"), " %.");
Console.WriteLine("The percentage of times that you landed on a 12 is: " ,per12.ToString("##.##"), " %.");