Quote Originally Posted by ade161 View Post
the syntax for the pow function is:

pow(x,y)




9. double num1 = 0;
double num2 = 0;
double answer = 0;
cout<<”Enter num 1 “;
cin>>num1;
cout<<”Enter num 2 “;
cin>>num2;
answer = pow(num1,3) + sqrt(num2);
Better. He doesn't ask you to input the numbers, but I don't imagine he'll take any points off if you do.