how to calculate square root in c code example Example: sqrt in c #include <math.h> double sqrt(double arg);