// compile with: gcc -lm power.c
// note that you need the -lm to tell gcc to link the math library.

#include <stdio.h>
#include <math.h>

int main(int argc, char *argv[]) {

  float x = pow(3, 10.0);
  printf("%f\n", x);
  return 0;
}