diff --git a/.gitignore b/.gitignore index 2f7824f..4f9cf4b 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ bin/ ### Mac OS ### .DS_Store /Medien/Bilder & Co/Goldfrosch.pptx +/Medien/Bilder & Co/Goldfrosch.xlsx diff --git a/src/part4/aufg5.java b/src/part4/aufg5.java index b18f1a9..0ee85f2 100644 --- a/src/part4/aufg5.java +++ b/src/part4/aufg5.java @@ -35,7 +35,7 @@ public class aufg5 { // jump current_pos += field[current_pos + 1]; if (current_pos > max_pos) { - max_pos = current_pos + 1; + max_pos = current_pos; } } @@ -46,7 +46,6 @@ public class aufg5 { bucket_Neg_1 += 1; } } - System.out.println("Anzahl Frösche: " + no_frogs); System.out.println("Der Froschrekord liegt bei Feld: " + max_pos); System.out.println("Eimer auf Feld -1: " + bucket_Neg_1); diff --git a/src/part8/aufg3/matrix.java b/src/part8/aufg3/matrix.java index b1d443f..8f33e4c 100644 --- a/src/part8/aufg3/matrix.java +++ b/src/part8/aufg3/matrix.java @@ -49,7 +49,7 @@ public class matrix { } else { // - // Ammount of given Values is not compatible Exception + // Amount of given Values is not compatible Exception } } @@ -71,7 +71,7 @@ public class matrix { } else { // - // Ammount of given Values is not compatible Exception + // Amount of given Values is not compatible Exception } }