public static double pow(double x, int n) {
              


}


This Coding Interview Question is available with an answer in the following programming languages :