sqrt() - Cmath function library




sqrt( value );

The function sqrt() cmath library (math.h) It takes the value parameter and returns the square root.

If the ( in our case – value) negative, an error.

The result is shown in the run online compiler ideone

example of the function sqrt c ++

Newsletter of programming:

sqrt() - Cmath function library
3.3 (65%) 4 votes

Leave a Reply

Your email address will not be published. Required fields are marked *