package testing.project; public class PalindromeThreeDigits { public static void main(String[] args) { int value = 0; for(int i = 100;i <=999;i+
What about : in python
>>> for i in range((999*999),(100*100), -1): ... if str(i) == str(i)[::-1]: ... print i ... break ... 997799 >>>