#include <stdio.h> /* for input/output */
#include <math.h> /* for cbrt, sqrt, hypot */ 

main() {
  float cbrtResult, sqrtResult, hypotResult;
  cbrtResult = cbrt(27); /* cube root of 27 */
  sqrtResult =  sqrt(9); /* square root of 9 */
  hypotResult = hypot(3,4); /* the hypotenuse of the 3,4,5 triangle */
  printf("cbrt(27) = %f\nsqrt(9) = %f\nhypot(3,4) = %f\n", 
         cbrtResult, sqrtResult, hypotResult); /* print results */
}

/* OUTPUT:
cbrt(27) = 3.000000
sqrt(9) = 3.000000
hypot(3,4) = 5.000000
 */

/*
cbrt - cube root
sqrt - square root
hypot - find the hypotenuse of a right angled triangle
 */
