diff --git a/src/Lab2.java b/src/Lab2.java index 1dceee0..f83ef1d 100644 --- a/src/Lab2.java +++ b/src/Lab2.java @@ -107,7 +107,6 @@ public class Lab2 { valueRepeats = true; } } - sum += tmpSmallest; if (!valueRepeats) { sum += tmpSmallest;