Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

int Palindromo(char x[],int Ii,int If){

if(Ii<If){
return 0;
}
else{
if(x[Ii]==x[If]){
return Palindromo(x,Ii+1,If-1);
}
else {
return 1;
}
}
}

You might also like