#include<iostream>#include<math.h>usingnamespace std;intmain(){double x,y;
cout<<"Please enter x and y\n";
cin>>x>>y;
cout<<"The answer is\n";
cout<<pow(x,y);return0;}
题目使用系统函数pow(x,y)计算xy的值,注意包含头文件math.hAC的C++代码如下:#include<iostream>#include<math.h> using namespace std;int main(){ double x,y; cout<<"Please enter x and y\n"; cin>>x>>y; cout<<"The answer is\n"; cout<<p