Pārlūkot izejas kodu

collatz-conjecture: fix else formatting

Stuart Kent 9 gadus atpakaļ
vecāks
revīzija
086c727bb0

+ 1
- 1
exercises/collatz-conjecture/src/example/java/CollatzCalculator.java Parādīt failu

9
 
9
 
10
         if (start % 2 == 0) {
10
         if (start % 2 == 0) {
11
             next = start / 2;
11
             next = start / 2;
12
-        } else{
12
+        } else {
13
             next = 3 * start + 1;
13
             next = 3 * start + 1;
14
         }
14
         }
15
 
15