public double palindromo(int c)
    {
        double mayor = 0;
        int oper1 = 0;
        int oper2 = 0;
        for(double n1 = Math.pow(10, c) - 1; n1 > 1; n1--){                    
            for(double n2 = Math.pow (10, c) - 1; n2 > 1; n2--){
                if(n1 * n2 > mayor){
                    if(compruebaPalindromo(n1 * n2)){
                        if(n1 * n2 > mayor){
                            mayor = n1 * n2;
                            oper1 = (int)n1;
                            oper2 = (int)n2;
                        }
                    }
                }
            }
        }
        System.out.println(oper1 + " * " + oper2 + " = " + mayor);
        return mayor;
    }