You are here

pow10 function

  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4. int main()
  5. {
  6.    int x = 5;
  7.    double result;
  8.  
  9.    result = pow10(x);
  10.  
  11.    printf("Ten raised to %d is %lf\n", x, result);
  12.  
  13.    return 0;
  14. }