/* File: powsqrt.c Use mathematical functions pow() and sqrt() */ #include #include /* for pow() and sqrt() */ int main() { double p, x = 2.0, y = 3.0; p = pow(x,y); printf("pow(2.0, 3.0) = %f\n", p); printf("sqrt(2.0) = %f\n", sqrt(x)); return 0; }