返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. #include<cmath>
  4. using namespace std;
  5. void hello()
  6. {
  7.     for(int i=1;i<=3;i++)
  8.         cout<<"hello!!!!!"<<endl;     
  9. }
  10. int myPlus(int x,int y,int z)
  11. {
  12.     return x+y+z;
  13. }
  14. int main()
  15. {
  16.     hello();
  17.     cout<<myPlus(2,3,4)<<endl;
  18.     system("pause");
  19.     return 0;   
  20. }
複製代碼

TOP

返回列表