#include <stdio.h>
#include <stdlib.h>
#include <math.h>
float cuberoot(float a)
{
float crt;
crt = cbrt(a);
return crt;
}
float main()
{
system("cls");
float a;
printf("Enter a number: \n");
scanf("%f", &a);
printf("Cube root of the given number is: %.4f", cuberoot(a));
return 0;
}
//.......Coded by JAIDEEP JAMBLE
#ENJOY CODING
Post a Comment
FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP