public static void Main()
Console.WriteLine("Welcome to the Rolling Dice Simulation");
Console.WriteLine("How many times do you wish to roll?");
int nTimes = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Which roll value would you like to keep track of (2-12)?");
int dSum = Convert.ToInt32(Console.ReadLine());
Random rG = new Random();
for (int count = 0; count < nTimes ; count++){
Console.WriteLine("The number of rolls that came up "+dSum+ " was " + tally);
double percentValue = (double)tally/nTimes;
Console.WriteLine("Percent of rolls that came up " + dSum +" was " + percentValue*100 + "%");