用c语言计算15的3次方

#include
using namespace std;

//计算x的n次方
double power(double x, int n) {

}

int main() {
cout <<"15 的 3 次方是:"<< power(15,3) << endl;
cout<<"16 的 3 次方是:"<
return 0;
}

double power(double x, int n) {

}
删掉
增加#include <math.h>

#include<iostream>
#include<cmath>
using namespace std;
int main()
{
    cout<<"15的3次方是:"<<pow(15,3)<<" ";
    cout<<"16的3次方是:"<<pow(16,3)<<" ";
    return 0;
}