private static int startfeld = 0;
private static int zielfeld = 100;
private static int ermittleaugenzahl(int aktuelleaugenzahl) {
int aktuellesfeld = startfeld;
while(aktuellesfeld < zielfeld) {
aktuellesfeld = aktuellesfeld + aktuelleaugenzahl;
public static void Main()
int aktuelleaugenzahl = 3;
anzahlzuege = ermittleaugenzahl(aktuelleaugenzahl);
Console.WriteLine("Fuer die Augenzahl " + aktuelleaugenzahl + " sind " + anzahlzuege + " Zuege notwendig.");