static boolean polindromo(string frase) { boolean cont=true; int metàlung= for(int i=0,j=frase.length-1;(imetàlung);i++,j--) { if(frase[i]!=frase[j]) cont=false; } return cont; }