In "is palindrome que " i am trying it with recursion then its why not taking sumit

#include
#include
using namespace std;
void ispalindrome(char ch[],int i,int j)
{

	if(ch[i]==ch[j])
	{
		i++;
         j--;
		 if(i>j)
		 {
		   ispalindrome(ch,i,j);
		 }
		 else{
			 cout<<"true";
		 }
	}
	else
	{
      cout<<"false";
	}

}

hey you are not taking the input correctly each character is provided in a new line so make a charcter array and take input and then use it

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.