Merge pull request #3 from Dymik739/commit-fix

Lab2: remove duplicate string to fix calculations
This commit is contained in:
Oleksii Aleshchenko
2023-05-11 16:12:29 +03:00
committed by GitHub

View File

@@ -107,7 +107,6 @@ public class Lab2 {
valueRepeats = true;
}
}
sum += tmpSmallest;
if (!valueRepeats) {
sum += tmpSmallest;