Bugfix & Spelling

This commit is contained in:
Matti 2024-04-18 17:01:57 +02:00
parent 63050daafd
commit a80e402e45
3 changed files with 4 additions and 4 deletions

1
.gitignore vendored
View File

@ -28,3 +28,4 @@ bin/
### Mac OS ### ### Mac OS ###
.DS_Store .DS_Store
/Medien/Bilder & Co/Goldfrosch.pptx /Medien/Bilder & Co/Goldfrosch.pptx
/Medien/Bilder & Co/Goldfrosch.xlsx

View File

@ -35,7 +35,7 @@ public class aufg5 {
// jump // jump
current_pos += field[current_pos + 1]; current_pos += field[current_pos + 1];
if (current_pos > max_pos) { 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; bucket_Neg_1 += 1;
} }
} }
System.out.println("Anzahl Frösche: " + no_frogs); System.out.println("Anzahl Frösche: " + no_frogs);
System.out.println("Der Froschrekord liegt bei Feld: " + max_pos); System.out.println("Der Froschrekord liegt bei Feld: " + max_pos);
System.out.println("Eimer auf Feld -1: " + bucket_Neg_1); System.out.println("Eimer auf Feld -1: " + bucket_Neg_1);

View File

@ -49,7 +49,7 @@ public class matrix {
} }
else { 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 { else {
// //
// Ammount of given Values is not compatible Exception // Amount of given Values is not compatible Exception
} }
} }