返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. #include<ctime>
  4. #include<cmath>
  5. using namespace std;
  6. int main ()
  7. {
  8.     double x,y;
  9.     cout<<"enter(x^-)";
  10.     cin>>x;
  11.     cout<<"enter(-^y)";
  12.     cin>>y;
  13.     cout<<"ans: "<<pow(x,y)<<endl;
  14.    
  15.     system("pause");
  16.     return 0;        
  17. }
複製代碼

TOP

返回列表