I'm having trouble with a small c++ program I'm righting and I'm having one small problem with it
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int x,y,sum;
x=-30;
y=11;
sum= cube(x)/y;
cout<<sum<<endl;
return 0;
its saying cube is not identified - I didn't think you had to do that since I'm just trying to go x^3/y
what am I doing wrong??