class Program01 { public static double pow(double a, double b){ if(b == 0){ return 1; } if(b==1){ return a; } double tmp=1; for(int i=0;i