mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-05 16:27:33 +08:00
Code cleanup (#4246)
This commit is contained in:
@ -19,6 +19,7 @@ public class HappyNumbersSeq {
|
||||
}
|
||||
String res = n == 1 ? "1 Happy number" : "Sad number";
|
||||
System.out.println(res);
|
||||
in.close();
|
||||
}
|
||||
|
||||
private static int sumSquares(int n) {
|
||||
|
Reference in New Issue
Block a user