using System;
namespace ConsoleApp2
{
public class Program
public static void Main(string[] args)
Console.Write("press any key to trow.\n");
Random rnd = new Random();
int total = 0;
int trows = 0;
while (total < 1000)
int eyes = rnd.Next(1, 7);
total += eyes;
Console.WriteLine(eyes);
trows++;
}
Console.WriteLine("Het duurde " + trows + " voordat je 1000 punten had");