

public class Dado {
    
    public static void main(String[] args) {
        double x,y,z;

        x=2;
        y=5;
        z=java.lang.Math.pow(2,5);  // esto es 2^5

        System.out.printf("%.1f elevado a %.1f es %.2f \n",x,y,z);

    }
    
}


