live/solutions/bedingungen.groovy aktualisiert

main
Ileyan Al Jaaf 2024-06-16 16:30:07 +02:00
parent 457fd501ec
commit 88e3de5435
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ def check(List<Integer> list) {
if (list.size() == 0) {
return "Die übergebene Liste ist leer!"
}
for(i in 0..<list.size()) {
for(int i = 0; i < list.size(); i++) {
if(list[i] % 2 == 0) {
counter++
}