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

  4. int main()
  5. {
  6.    srand(time(NULL));
  7.    int player;
  8.    cout<<"請出拳! (1)剪刀(2)石頭 (3)布";
  9.    cin>>player;
  10.    cout<<"你出"<<player<<endl;
  11.         system("pause");
  12.         return 0;        
  13. }
複製代碼

TOP

返回列表