返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. #include<ctime>
  4. using namespace std;

  5. void PSG()
  6. {
  7.      cout<<"Hello!!!!!!!!!!!!!!!!!!!!!!!!!!!"<<endl;   
  8. }

  9. int QLS(int x, int y, int z)
  10. {
  11.     return x+y+z;
  12. }

  13. int main()
  14. {
  15.     PSG();
  16.     cout<<QLS(1,2,3)<<endl;
  17.     system("pause");
  18.     return 0;
  19. }
複製代碼

TOP

  1. [code]#include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. void PSG();
  5. int QLS(int,int,int);
  6. int main()
  7. {
  8.     PSG();
  9.     cout<<QLS(1,2,3)<<endl;
  10.     system("pause");
  11.     return 0;   
  12. }
  13. void PSG()
  14. {
  15.     cout<<"Hello!!!!!!!!!!!!!!!!!!!"<<endl;
  16. }
  17. int QLS(int x,int y,int z)
  18. {
  19.     return x+y+z;
  20. }
複製代碼
[/code]

TOP

返回列表