cbrt: returns the cube root of num : cbrt « math.h « C / ANSI-C






cbrt: returns the cube root of num


    

//Declaration: float cbrtf(float num); 
               double cbrt(double num); 
               long double cbrtl(long double num);  

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

  int main(void)
  {

  printf("%f", cbrt(8));
}

         
/*
2.000000*/ 

           
       








Related examples in the same category