remove duplicate string to fix calculations
This commit is contained in:
parent
9b871b6a42
commit
ae042010a6
|
@ -107,7 +107,6 @@ public class Lab2 {
|
||||||
valueRepeats = true;
|
valueRepeats = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sum += tmpSmallest;
|
|
||||||
|
|
||||||
if (!valueRepeats) {
|
if (!valueRepeats) {
|
||||||
sum += tmpSmallest;
|
sum += tmpSmallest;
|
||||||
|
|
Loading…
Reference in New Issue