diff --git a/current b/current index be53549..20e5d6a 100755 Binary files a/current and b/current differ diff --git a/src/main.c b/src/main.c index 9d223b5..289d852 100644 --- a/src/main.c +++ b/src/main.c @@ -1,6 +1,10 @@ #include #include +#define true 1 +#define false 0 +#define boolean char + /* A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99. @@ -32,17 +36,29 @@ struct String numberToString(int numb) { return str; } +boolean isPalindrome(struct String numb) { + int offset=0; + while (offset