mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
Format code with prettier (#3375)
This commit is contained in:
@@ -29,8 +29,12 @@ public class LowestBasePalindrome {
|
||||
in.next();
|
||||
}
|
||||
}
|
||||
System.out.println(n + " is a palindrome in base " + lowestBasePalindrome(n));
|
||||
System.out.println(base2base(Integer.toString(n), 10, lowestBasePalindrome(n)));
|
||||
System.out.println(
|
||||
n + " is a palindrome in base " + lowestBasePalindrome(n)
|
||||
);
|
||||
System.out.println(
|
||||
base2base(Integer.toString(n), 10, lowestBasePalindrome(n))
|
||||
);
|
||||
in.close();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user