Pallindrome . sequence challenge

Its always showing output false
what is the bug in the code ?https://ide.codingblocks.com/s/412530

here is your corrected code:

we are taking input of character array so will the null chracter will be added automatically in it as you commented it out why we are taking input using cin but not cin.get()