Programming
Python
R
Java
C
C++
C#
WEB
HTML
CSS
JavaScript
BootStrap4
jQuery
SVG
MORE
Examples1
Python
GO
R
Java
C
C++
C#
Examples2
Python
R
Java
C
C++
C#
HTML
CSS
JavaScript
BootStrap4
jQuery
SVG
Seo Tools
Code Minifier
Code Beautifier
Language Compiler
Misc Tools
File Converter
References
C
C++
Python
Java
PHP
JavaScript
Examples
Python
R
Java
C
C++
C#
HTML
CSS
JavaScript
BootStrap4
jQuery
SVG
Home
About
Contact
JetPack
Multi Themes-->>
Code it ALL
Scroll TOP
cbrt() - math.h in c - CodeGK
Δ C References
string.h
strcat()
strcmp()
strcpy()
strlen()
math.h
acos()
acosh()
asin()
asinh()
atan()
atan2()
atanh()
cbrt()
ceil()
cos()
cosh()
exp()
fabs()
floor()
hypot()
log()
log10()
pow()
sin()
sinh()
sqrt()
tan()
tanh()
ctype.h
isalnum()
isalpha()
iscntrl()
isdigit()
isgraph()
islower()
isprint()
ispunct()
isspace()
isupper()
isxdigit()
tolower()
toupper()
♦ cbrt() - math.h
♣ Example1: cbrt()
Input:
Run CODE
Reload Code
Copy Code
#include
#include
int main() { double num1=-8; double result1= cbrt(num1); printf("%f\n", result1); double num2=27; double result2= cbrt(num2); printf("%f\n", result2); double num3=512; double result3= cbrt(num3); printf("%f\n", result3); return 0; }
Output: