C++ cbrt() Function

#include<iostream>
#include<cmath>
using namespace std;
int main()
{
    double x, y;

    cout << "Enter A Cube Number : ";
    cin >> x;
    cout << endl;

    y = cbrt(x);

    cout << "Cube Root : " << y << endl;

    return 0;
}

Comments