FIX: Falscher Vergleich gefixt

master
Nikurasu 10 months ago
parent 7e0dda5664
commit d6b49194ee
  1. 2
      ClassTestExerise2B/Program.cs

@ -79,7 +79,7 @@ namespace ClassTestExerise2B
biggestUneven = lowerLimit;
for (int number = 0; number <= spaceBetween; number++)
{
if (numberCount[number] % 2 != 0 && numberCount[number] < biggestUneven)
if (numberCount[number] % 2 != 0 && numberCount[number] > biggestUneven)
{
biggestUneven = number + lowerLimit;
}

Loading…
Cancel
Save