This calculator starts operation with showing output "Input a String to check if it's palindrome or not" and afterwards, it takes input the number as a string and calls the Boolean function isPalindrome by passing the number to the function.
Initially. we take 2 points, one at the beginning of the number and one at the end of the number. We will iterate over this number as long as the left side is less than the right side.
The while loop will check if the left pointer's position's digit is same as the right pointer's position's digit. If they are same, the function will continue and left will increase by 1 and right pointer's position will decrease by 1. If the digits from left and right pointers' positions are not same it will return false and the function will end.
If there are no occasions where the digits are different, then the function will return true at the end and end.
if isPalindrome function returns true, it will show output "is Palindrome" else it will show output "is not Palindrome"