About us

C Program to find the cube root of the given number


C Program to find the cube root of the given number

c-program-cube-root



#include<stdio.h>
#include<math.h>
#include<conio.h>

void main()

{

double n,r;

clrscr();
printf("Enter any number to find its Cuberoot\n");
scanf("%lf",&n);

r=pow(n,1.0/3.0);

printf("Cube root of is %lf",r);
getch();
}

OUTPUT

Enter any number to find its Cuberoot
271
Cube root of is 6.471274


------------------------------------------------------------------------------------------------------------


You can also visit:-