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

int power(int num, int exp)
{
  return (int)(pow(num, exp));
}


int main () {
 
  int num, exp;
  num = 3;
  exp = 9;

  printf("%i\n", power(num, exp));
  
  float nan;
  nan = sqrt(-1);
  printf("%f\n", nan);
  if (isnan(nan))
    printf("not computable\n");

  return 0;
}
