isPalindrome question

My test cases are not getting passed, could you please check what is the issue in the code

hello @mridulpant could you please share your code by saving it on ide.codingblocks.com

hello @mridulpant wait i will correct it and let you know the mistake .

hey @mridulpant check this i have corrected your code and now it is passing every test case