33,317
社区成员
发帖
与我相关
我的任务
分享
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
cout<<pow(5.0,2)<<endl;
cout<<pow(5.0,3)<<endl;
cout<<pow(5.0,4)<<endl;
//cout<<sqrt(10.0)<<endl; 这个才是楼主要的吧。。。
}
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
cout<<pow(5.0,2)<<endl;
cout<<sqrt(10.0)<<endl;
system("pause");
}