C++ Math sqrt()
This function finds the square root of a given number.
Consider a argument 'arg' :
Syntax would be :
arg: It is the value of float or integer type.
It returns the square root of the argument arg.
Let's see a simple example when argument 'arg' is of integer type.
Square root of a number is :
Let's see a simple example when argument 'arg' is of float type
Square root of a number is :2.91548
Next TopicC++ Math Functions
JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week