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
commit f05125e298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

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