#include <cmath> // simple version #include <complex> // complex version
Chat with our AI personalities
You write a function that evaluates the square root of its argument and returns the result to the caller.You can also use the run-time library functions in math.h ...double sqrt (double x);double pow (double x, (double) 0.5);
square root of the argument
in the java as we use the inheritance property in the same way we can get the the inheritance property in c by using the prepared header files( .h files). there a single program in c use the many methods of many header files like math.h give us to use the use of floor(), sqrt() e.t.c. functions..
No commands in C; the name of function sqrt is sqrt (include math.h; and use -lm at linkage)
60*sqrt(C)+20 HRC