返回列表 發帖
  1. #include <iostream>
  2. #include <cstdlib>;
  3. using namespace std;
  4. int main()
  5. {
  6.        srand(time(NULL));
  7.        for(int a=1 ;a<=20; a++)
  8.        cout<<rand()%4+4<<endl;
  9.         system ("pause") ;
  10.         return 0;
  11. }
複製代碼
http://fs-old.mis.kuas.edu.tw/~s1102137106/music/

TOP

返回列表