![]() ![]() if given number equal to sum than number is palindrome otherwise not palindrome ("Digit "+lastDigit+ " was added to sum "+(sum*10)) Int inputNumber=171 //It is the number to be checked for palindrome How to check whether input number is Palindrome or notīelow is a Palindrome program in Java with while loop package com.guru99
0 Comments
Leave a Reply. |