Your challenge is to code a custom Delphi function with the following signature:
function NumberOfPalindromes(const maxNumber : int64) : int64;
NumberOfPalindromes takes one parameter: maxNumber an int64 number. Your task is to locate all palindromic numbers from 1 to maxNumber and return the number of found palindromes as a result of the function.
Read the full article to learn how to join this Delphi Challenge: Create an Algorithm To Find Palindromic Numbers