#include "stdio.h"
#include "math.h"
int main()
{
double x;
printf("Enter the positive number.\n");
scanf("%lf", &x);
printf("Cube root of %lf is %lf.\n", x, pow(x, 1/3.0));
return 0;
}
Chat with our AI personalities
The cube root of a negative number is negative
It's a lot easier.
No.
write a c program to accept a number and generate a square root cube and exponential values
Many calculators will offer a way for you to do cube roots, or what number to the power of 3 will equal that number. There is no easy way to go about finding cube roots without a calculator, so I suggest not trying too hard.. but the cube root of 7 is 1.912931182772389 found from using a simple Cube Root calculator you can find on the internet.