C++ Math cbrt()This function is used to find the cube root of a given number. Consider a argument 'arg' :SyntaxSyntax would be : Parameterarg : It is the value of float or integer type. Return valueIt returns the cube root of a given number arg. Example 1Let's see a simple example when argument 'arg' is of integer type Output: Cube root of a number is :2 Example 2Let's see a simple example when an argument 'arg' is of float type. Output: Cube root of a number is :2.33921
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